View Single Post
Old 05-17-2020, 03:31 AM   #2
PatStapleton
Member
PatStapleton began at the beginning.
 
Posts: 22
Karma: 10
Join Date: Nov 2011
Location: Australia
Device: Kindle 4
Try this:

I added use_embedded_content = False which tells Calibre to follow the links in the feed (not just use the summary)

I also commented out the other sections with a # as they aren't needed.

Code:
#!/usr/bin/env python2
# vim:fileencoding=utf-8
from __future__ import unicode_literals, division, absolute_import, print_function
from calibre.web.feeds.news import BasicNewsRecipe

class AdvancedUserRecipe1589629735(BasicNewsRecipe):
    title          = 'Tagespost'
    oldest_article = 7
    max_articles_per_feed = 100
    auto_cleanup   = True
    use_embedded_content = False

    feeds          = [
        ('Tagespost', 'https://www.die-tagespost.de/storage/rss/rss/die-tagespost-komplett.xml'),
    ]
    
#    def print_version(self, url):
#        return url + "/print/yes"
#    def get_browser(self, *a, **kwargs):
#        kwargs['verify_ssl_certificates'] = False
#        return BasicNewsRecipe.get_browser(self, *a, **kwargs)
    extra_css = 'td.textb {font-size: medium;}'
PatStapleton is offline   Reply With Quote