Quantcast
Channel: MobileRead Forums - Calibre
Viewing all articles
Browse latest Browse all 31556

Help me writing this recipe

$
0
0
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!

Viewing all articles
Browse latest Browse all 31556

Trending Articles