View Single Post
Old 05-27-2011, 01:03 PM   #1
schuster
Zealot
schuster doesn't litterschuster doesn't litter
 
Posts: 119
Karma: 100
Join Date: Jan 2011
Location: Germany / NRW /Köln
Device: prs-650 / prs-350 /kindle 3
get print-url and somtimes non-print-url

hi,
i think the code is correct but sometimes the same articel is present at non print-url.
in fetch details i can see that only print-url is downloaded.
any suggestions

Code:
    title          = u'Focus.de - online1'
    __author__  = 'schuster'
    oldest_article = 5
    max_articles_per_feed = 5
    no_stylesheets         = True
    use_embedded_content   = False
    language               = 'de'
    remove_javascript      = True
#    recursion = 0


    def get_article_url(self, article):
        raw = article.get('guid',  None)
        final = raw + '?drucken=1'
        return final 


    feeds          = [(u'Focus online', u'http://rss2.focus.de/c/32191/f/443315/index.rss')]
schuster is offline   Reply With Quote