From 05a327688cfc4d4235cca2180b5897cd87f84cfd Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Mon, 4 Oct 2021 10:18:41 +0530 Subject: [PATCH] Various Indian News sources by Vishvas Vasuki Clean up the recipes a little. --- recipes/hindu_human_rights.recipe | 5 ++++- recipes/india_facts.recipe | 5 ++++- recipes/indic_today.recipe | 5 ++++- recipes/pragyata.recipe | 5 ++++- recipes/prekshaa.recipe | 5 ++++- 5 files changed, 20 insertions(+), 5 deletions(-) diff --git a/recipes/hindu_human_rights.recipe b/recipes/hindu_human_rights.recipe index 43505605c3..6648970380 100644 --- a/recipes/hindu_human_rights.recipe +++ b/recipes/hindu_human_rights.recipe @@ -8,12 +8,15 @@ def classes(classes): return dict( attrs={'class': lambda x: x and frozenset(x.split()).intersection(q)}) + class HinduHumanRights(BasicNewsRecipe): title = 'Hindu Human Rights' + __author__ = 'Vishvas Vasuki' + language = 'en_IN' oldest_article = 30 max_articles_per_feed = 100 auto_cleanup = True feeds = [ ('HHR main', 'https://www.hindusforhumanrights.org/en/home-6?format=rss'), - ] \ No newline at end of file + ] diff --git a/recipes/india_facts.recipe b/recipes/india_facts.recipe index e7c9f4df62..c79394398e 100644 --- a/recipes/india_facts.recipe +++ b/recipes/india_facts.recipe @@ -8,12 +8,15 @@ def classes(classes): return dict( attrs={'class': lambda x: x and frozenset(x.split()).intersection(q)}) + class IndiaFacts(BasicNewsRecipe): title = 'IndiaFacts' + __author__ = 'Vishvas Vasuki' + language = 'en_IN' oldest_article = 7 max_articles_per_feed = 100 auto_cleanup = True feeds = [ ('India Facts main feed', 'https://www.indiafacts.org.in/feed/'), - ] \ No newline at end of file + ] diff --git a/recipes/indic_today.recipe b/recipes/indic_today.recipe index 4d5d6af2a9..404136550b 100644 --- a/recipes/indic_today.recipe +++ b/recipes/indic_today.recipe @@ -8,12 +8,15 @@ def classes(classes): return dict( attrs={'class': lambda x: x and frozenset(x.split()).intersection(q)}) + class IndicToday(BasicNewsRecipe): title = 'Indic Today' + __author__ = 'Vishvas Vasuki' + language = 'en_IN' oldest_article = 7 max_articles_per_feed = 100 auto_cleanup = True feeds = [ ('Indic Today Main feed', 'https://www.indica.today/feed/'), - ] \ No newline at end of file + ] diff --git a/recipes/pragyata.recipe b/recipes/pragyata.recipe index 49a61fd5fa..8e4f7a4ac2 100644 --- a/recipes/pragyata.recipe +++ b/recipes/pragyata.recipe @@ -8,12 +8,15 @@ def classes(classes): return dict( attrs={'class': lambda x: x and frozenset(x.split()).intersection(q)}) + class Pragyata(BasicNewsRecipe): title = 'Pragyata' + __author__ = 'Vishvas Vasuki' + language = 'en_IN' oldest_article = 7 max_articles_per_feed = 100 auto_cleanup = True feeds = [ ('pragyata', 'https://pragyata.com/feed/'), - ] \ No newline at end of file + ] diff --git a/recipes/prekshaa.recipe b/recipes/prekshaa.recipe index 2967dba975..6e37cc785f 100644 --- a/recipes/prekshaa.recipe +++ b/recipes/prekshaa.recipe @@ -8,12 +8,15 @@ def classes(classes): return dict( attrs={'class': lambda x: x and frozenset(x.split()).intersection(q)}) + class Prekshaa(BasicNewsRecipe): title = 'prekshaa' + __author__ = 'Vishvas Vasuki' + language = 'en_IN' oldest_article = 7 max_articles_per_feed = 100 auto_cleanup = True feeds = [ ('prekshaa', 'https://www.prekshaa.in/feed'), - ] \ No newline at end of file + ]