View Single Post
Old 11-29-2009, 07:00 AM   #7
evanmaastrigt
Connoisseur
evanmaastrigt doesn't litterevanmaastrigt doesn't litter
 
Posts: 78
Karma: 192
Join Date: Nov 2009
Device: Sony PRS-600
Quote:
Originally Posted by kovidgoyal View Post
Hmm, the download code should deal with redirects automatically, you shouldn't have to load the article first and then return the url.
That's what I thought too. But the download fails without this trick. Try it for yourself.
The following also works:
Code:
    
    def get_article_url(self, article):
        return article.id
which is just as weird.

Anyway, while waiting for the men in white coats to arrive, I cooked up the following

theoz.zip

With all feeds enabled it downloads in just under 7 minutes, but YMMV
evanmaastrigt is offline   Reply With Quote