calibre/recipes/t_online.recipe
2021-01-04 20:32:27 +05:30

48 lines
2.0 KiB
Python

#!/usr/bin/env python
# vim:fileencoding=utf-8
from calibre.web.feeds.news import BasicNewsRecipe
class T_Online_Recipe(BasicNewsRecipe):
title = 'T-Online'
oldest_article = 3
max_articles_per_feed = 100
auto_cleanup = True
__author__ = 'vo_he'
description = 'RSS-Feeds von T-Online.de - Informations set to Germany'
publisher = 'http:/feeds.t-online.de/rss'
publication_type = 'all'
language = 'de'
cover_url = 'http://vignette2.wikia.nocookie.net/logopedia/images/2/2c/Hjh.png'
no_stylesheets = True
remove_javascript = True
remove_empty_feeds = True
scale_news_images = (600, 800)
masthead_url = 'https://upload.wikimedia.org/wikipedia/commons/thumb/3/31/T-online.de.svg/1280px-T-online.de.svg.png'
# all possible feeds look at:
# https://www.t-online.de/themen/rss-feed/
# there are tons of feeds, may you just type the words of intrest after the http://feeds.t-online.de/rss/ link.
feeds = [
('Germany', 'http://feeds.t-online.de/rss/deutschland'),
('NEWS', 'http://feeds.t-online.de/rss/nachrichten'),
('News Ticker', 'http://feeds.t-online.de/rss/news-ticker'),
('Polizei', 'http://feeds.t-online.de/rss/polizei'),
('Sport', 'http://feeds.t-online.de/rss/sport'),
('Fußball DE', 'http://feeds.t-online.de/rss/fussball'),
('Fußball int.',
'http://feeds.t-online.de/rss/fussball-international'),
('Formel 1', 'http://feeds.t-online.de/rss/formel1'),
('Freizeit', 'http://feeds.t-online.de/rss/freizeit'),
('Ratgeber', 'http://feeds.t-online.de/rss/ratgeber'),
('Tourismus', 'http://feeds.t-online.de/rss/tourismus'),
('TV', 'http://feeds.t-online.de/rss/tv'),
('Wetter', 'http://feeds.t-online.de/rss/wetter'),
('Hamburg', 'http://feeds.t-online.de/rss/hamburg'),
('Berlin', 'http://feeds.t-online.de/rss/berlin'),
('Frankfurt', 'http://feeds.t-online.de/rss/frankfurt'),
('München', 'http://feeds.t-online.de/rss/muenchen'),
]