View Single Post
Old 05-15-2017, 07:47 PM   #3
New924249
Junior Member
New924249 began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Jan 2017
Device: Trekstor Pyrus 2
Telepolis Recipe is broken again: this is the solution

#!/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 AdvancedUserRecipe1494888781(BasicNewsRecipe):
title = 'Telepolis'
oldest_article = 7
max_articles_per_feed = 100
auto_cleanup = True
resursions = 10

feeds = [
('Telepolis', 'https://www.heise.de/tp/news-atom.xml'),
]

def print_version(self, url):
return url + '?view=print'
New924249 is offline   Reply With Quote