Update Telepolis

This commit is contained in:
Kovid Goyal 2018-11-19 09:58:04 +05:30
parent 928a72ebc0
commit 795d7f54ff
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -7,10 +7,12 @@ from calibre.web.feeds.news import BasicNewsRecipe
class Telepolis(BasicNewsRecipe):
title = 'Telepolis'
__author__ = 'Lutz Epperlein'
oldest_article = 7
max_articles_per_feed = 100
oldest_article = 10
max_articles_per_feed = 200
auto_cleanup = False
language = 'de'
scale_news_images = (758, 1024)
scale_news_images_to_device = True
feeds = [
('Telepolis', 'https://www.heise.de/tp/news-atom.xml'),
@ -19,4 +21,4 @@ class Telepolis(BasicNewsRecipe):
remove_tags = [dict(name='p', attrs={'class':'printversion__back-to-article printversion--hide'})]
def get_article_url(self, article):
return article.link + "?view=print"
return article.link + "&view=print"