Various Indian News sources by Vishvas Vasuki

Clean up the recipes a little.
This commit is contained in:
Kovid Goyal 2021-10-04 10:18:41 +05:30
parent d17c88ac9b
commit 05a327688c
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C
5 changed files with 20 additions and 5 deletions

View File

@ -8,12 +8,15 @@ def classes(classes):
return dict( return dict(
attrs={'class': lambda x: x and frozenset(x.split()).intersection(q)}) attrs={'class': lambda x: x and frozenset(x.split()).intersection(q)})
class HinduHumanRights(BasicNewsRecipe): class HinduHumanRights(BasicNewsRecipe):
title = 'Hindu Human Rights' title = 'Hindu Human Rights'
__author__ = 'Vishvas Vasuki'
language = 'en_IN'
oldest_article = 30 oldest_article = 30
max_articles_per_feed = 100 max_articles_per_feed = 100
auto_cleanup = True auto_cleanup = True
feeds = [ feeds = [
('HHR main', 'https://www.hindusforhumanrights.org/en/home-6?format=rss'), ('HHR main', 'https://www.hindusforhumanrights.org/en/home-6?format=rss'),
] ]

View File

@ -8,12 +8,15 @@ def classes(classes):
return dict( return dict(
attrs={'class': lambda x: x and frozenset(x.split()).intersection(q)}) attrs={'class': lambda x: x and frozenset(x.split()).intersection(q)})
class IndiaFacts(BasicNewsRecipe): class IndiaFacts(BasicNewsRecipe):
title = 'IndiaFacts' title = 'IndiaFacts'
__author__ = 'Vishvas Vasuki'
language = 'en_IN'
oldest_article = 7 oldest_article = 7
max_articles_per_feed = 100 max_articles_per_feed = 100
auto_cleanup = True auto_cleanup = True
feeds = [ feeds = [
('India Facts main feed', 'https://www.indiafacts.org.in/feed/'), ('India Facts main feed', 'https://www.indiafacts.org.in/feed/'),
] ]

View File

@ -8,12 +8,15 @@ def classes(classes):
return dict( return dict(
attrs={'class': lambda x: x and frozenset(x.split()).intersection(q)}) attrs={'class': lambda x: x and frozenset(x.split()).intersection(q)})
class IndicToday(BasicNewsRecipe): class IndicToday(BasicNewsRecipe):
title = 'Indic Today' title = 'Indic Today'
__author__ = 'Vishvas Vasuki'
language = 'en_IN'
oldest_article = 7 oldest_article = 7
max_articles_per_feed = 100 max_articles_per_feed = 100
auto_cleanup = True auto_cleanup = True
feeds = [ feeds = [
('Indic Today Main feed', 'https://www.indica.today/feed/'), ('Indic Today Main feed', 'https://www.indica.today/feed/'),
] ]

View File

@ -8,12 +8,15 @@ def classes(classes):
return dict( return dict(
attrs={'class': lambda x: x and frozenset(x.split()).intersection(q)}) attrs={'class': lambda x: x and frozenset(x.split()).intersection(q)})
class Pragyata(BasicNewsRecipe): class Pragyata(BasicNewsRecipe):
title = 'Pragyata' title = 'Pragyata'
__author__ = 'Vishvas Vasuki'
language = 'en_IN'
oldest_article = 7 oldest_article = 7
max_articles_per_feed = 100 max_articles_per_feed = 100
auto_cleanup = True auto_cleanup = True
feeds = [ feeds = [
('pragyata', 'https://pragyata.com/feed/'), ('pragyata', 'https://pragyata.com/feed/'),
] ]

View File

@ -8,12 +8,15 @@ def classes(classes):
return dict( return dict(
attrs={'class': lambda x: x and frozenset(x.split()).intersection(q)}) attrs={'class': lambda x: x and frozenset(x.split()).intersection(q)})
class Prekshaa(BasicNewsRecipe): class Prekshaa(BasicNewsRecipe):
title = 'prekshaa' title = 'prekshaa'
__author__ = 'Vishvas Vasuki'
language = 'en_IN'
oldest_article = 7 oldest_article = 7
max_articles_per_feed = 100 max_articles_per_feed = 100
auto_cleanup = True auto_cleanup = True
feeds = [ feeds = [
('prekshaa', 'https://www.prekshaa.in/feed'), ('prekshaa', 'https://www.prekshaa.in/feed'),
] ]