View Single Post
Old 04-15-2012, 01:11 PM   #1
korederoma
Junior Member
korederoma began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Mar 2012
Device: Kindle
Help me writing this recipe

Hi guys,
I'm not able to fetch some pages of this web page: http://temi.repubblica.it/limes/

These are two example of pages I'm not able to read on my e-book reader:
1) http://temi.repubblica.it/limes/regg...mocrazia/34129

2) http://temi.repubblica.it/limes/vene...americhe/34134

This is my recipe:
Code:
class AdvancedUserRecipe1334503133(BasicNewsRecipe):
    title          = u'Limes'
    masthead_url            = 'http://temi.repubblica.it/UserFiles/limes/Image/Loghi/logo-limes.gif'
    language                = 'it'
    oldest_article = 2
    max_articles_per_feed = 100

    no_stylesheets = True
    auto_cleanup = True
    auto_cleanup_keep = '//div[@class="thumbnail"]'
    use_embedded_content = False

    extra_css               = """
                               img{display: block}
                              """

    feeds          = [(u'Limes', u'feed://temi.repubblica.it/limes/feed/')]

How can I fix it? I'm not an expert programmer of Python.
Thanks in advance!
korederoma is offline   Reply With Quote