I f I read the code correctly, this recipe is going to fail in a few weeks:
It only checks the /<YEAR>/index page for the current issue, but that page only holds the first 15 issues of the year. For the next 15, you need to go to /<YEAR>/index?page=2 and so on. (See the year 2009 for an example.)
Solution: Start out with checking /<YEAR>/index?page=4 for issues. If there aren't any, try page=3 and page=2 before trying index without any page parameter.
If that doesn't give a result, /<YEAR-1>/index?page=4 should give one (last year's final issue, for the first few days of the year).
Unfortunately I don't know python, so I can't code that, but this should be enough for a coder to change the recipe.
Last edited by Baumi; 02-02-2010 at 02:00 PM.
Reason: Typos
|