From e5a144a30e3fbd1519c78c91a7f2138db421ac13 Mon Sep 17 00:00:00 2001 From: Aareet Mahadevan Date: Tue, 21 Mar 2023 00:44:18 -0700 Subject: [PATCH] Create tehelka.recipe Adds a recipe via RSS for tehelka.com --- recipes/tehelka.recipe | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 recipes/tehelka.recipe diff --git a/recipes/tehelka.recipe b/recipes/tehelka.recipe new file mode 100644 index 0000000000..41cfe416a1 --- /dev/null +++ b/recipes/tehelka.recipe @@ -0,0 +1,31 @@ +#!/usr/bin/env python +# -*- mode: python -*- +# -*- coding: utf-8 -*- + +__license__ = 'GPL v3' +__copyright__ = '2023, Aareet Mahadevan' +''' +https://www.ambito.com/contenidos/edicion-impresa.html +''' + +from calibre.web.feeds.news import BasicNewsRecipe + +class Tehelka(BasicNewsRecipe): + title = 'Tehelka' + oldest_article = 7 + max_articles_per_feed = 10 + auto_cleanup = True + __author__ = 'Aareet Mahadevan' + description = u'Free. Fair. Fearless.' + category = 'news, india' + encoding = 'utf-8' + no_stylesheets = True + remove_empty_feeds = True + remove_javascript = True + use_embedded_content = False + ignore_duplicate_articles = {'title', 'url'} + + + feeds = [ + ('Tehelka', 'http://tehelka.com/rss'), + ]