1
0

cookies #21

Open
opened 2013-07-12 10:05:42 +01:00 by robinmarlow · 1 comment
robinmarlow commented 2013-07-12 10:05:42 +01:00 (Migrated from github.com)

After some frustration it appears the site I'm trying to get content from the new england journal of medicine (e.g. http://www.nejm.org/doi/full/10.1056/NEJMp1306065) won't talk to browsers at all unless they go accept cookies - which seems to pose a problem. Even if following a link to a specific page you have to go through 2 redirects and only pass if cookies are accepted.

It seems trivial to fix if using curl to do the downloading, just adding two lines. But the function within tt-rss doesn't currently.

Not accepting cookies might not affect anyone else - but was quite tricky to find out this was the problem & may be the reason that other people's seemingly correct xpaths don't work.

After some frustration it appears the site I'm trying to get content from the new england journal of medicine (e.g. http://www.nejm.org/doi/full/10.1056/NEJMp1306065) won't talk to browsers at all unless they go accept cookies - which seems to pose a problem. Even if following a link to a specific page you have to go through 2 redirects and only pass if cookies are accepted. It seems trivial to fix if using curl to do the downloading, just adding two lines. But the function within tt-rss doesn't currently. Not accepting cookies might not affect anyone else - but was quite tricky to find out this was the problem & may be the reason that other people's seemingly correct xpaths don't work.
mbirth commented 2013-07-30 10:25:45 +01:00 (Migrated from github.com)

I'm not sure if this might be a problem with @gothfox fetch_file_contents() method instead of FeedMod. And I don't like the idea of implementing an own fetch method...

I'm not sure if this might be a problem with @gothfox fetch_file_contents() method instead of FeedMod. And I don't like the idea of implementing an own fetch method...
This repo is archived. You cannot comment on issues.
No Label
1 Participants
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: mbirth/ttrss_plugin-af_feedmod#21
No description provided.