mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Various Indian News sources by Vishvas Vasuki
Clean up the recipes a little.
This commit is contained in:
parent
d17c88ac9b
commit
05a327688c
@ -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'),
|
||||||
]
|
]
|
||||||
|
@ -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/'),
|
||||||
]
|
]
|
||||||
|
@ -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/'),
|
||||||
]
|
]
|
||||||
|
@ -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/'),
|
||||||
]
|
]
|
||||||
|
@ -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'),
|
||||||
]
|
]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user