mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-09-29 15:31:08 -04:00
21 lines
553 B
Python
21 lines
553 B
Python
#!/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 Telepolis(BasicNewsRecipe):
|
|
title = 'Telepolis'
|
|
oldest_article = 7
|
|
max_articles_per_feed = 100
|
|
auto_cleanup = True
|
|
recursions = 10
|
|
language = 'de'
|
|
|
|
feeds = [
|
|
('Telepolis', 'https://www.heise.de/tp/news-atom.xml'),
|
|
]
|
|
|
|
def is_link_wanted(self, url, tag):
|
|
return tag['class'] == 'seite_weiter'
|