Quote:
Originally Posted by aoitenshi
Hello, I posted a request but I decided to try my hand at it by using the Basic editor for custom news source on Calibre. I followed the guide on the website but I obviously don't understand enough code to get very far......
The website doesn't provide full RSS feeds so I try to load up the print version of linked articles. What I don't understand is that I seem to be getting the header / footer but I can't see the article itself. It's a free newspaper so all the content should load.
Why is this so?
|
I'm no expert, but I can help a bit.
I loaded up LiveHeaders and took a look at your feeds. They don't actually link to articles. You can see that by just clicking on the links for your feeds. There's some cookies, fancy scripting and redirecting going on.
To get the recipe to follow your feeds, you'll need to have it set up a browser session and then it can handle the cookies, etc. to get to your content.
Start here and look at the get_browser method.
I like to do a search of all recipes that use the method I'm trying to figure out and look at them first. A search of file contents for "get_browser" in the recipes folder will find them.
Edit: You're probably also going to need the get_obfuscated_article method
here.