View Single Post
Old 01-09-2017, 06:14 AM   #2
New924249
Junior Member
New924249 began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Jan 2017
Device: Trekstor Pyrus 2
Now it works...

...with that recipe.

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

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

def is_link_wanted(self, url, tag):
return tag['class'] == 'seite_weiter'
New924249 is offline   Reply With Quote