From 05b97d24c01499ec4f4f86f888cf1e70515a31ba Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Mon, 4 Jan 2021 20:32:27 +0530 Subject: [PATCH] T-Online by VoHegg --- recipes/t_online.recipe | 47 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 recipes/t_online.recipe diff --git a/recipes/t_online.recipe b/recipes/t_online.recipe new file mode 100644 index 0000000000..fc728edd9f --- /dev/null +++ b/recipes/t_online.recipe @@ -0,0 +1,47 @@ +#!/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'), + ]