Might be this is a beginners issue:
I tried to write a recipe for the "Tagespost" newspaper. It'sthis:
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
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;}'
First, everything seemed to work well: The content page showed the headers with short summaries. But pageing downwards, there appear only the headers of two articles, and where should be the text of the articles, only the summaries of all the articles shown in the content page are repeated, and this various times, so that the paper got a volume of about 200 pages.
Can someone, please, tell me what I'm doing wrong?