mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Add some indic feeds
This commit is contained in:
parent
e5fb43ea6a
commit
c3c83eb14b
19
recipes/Hindu Human Rights.recipe
Normal file
19
recipes/Hindu Human Rights.recipe
Normal file
@ -0,0 +1,19 @@
|
||||
#!/usr/bin/env python
|
||||
# vim:fileencoding=utf-8
|
||||
from calibre.web.feeds.news import BasicNewsRecipe
|
||||
|
||||
|
||||
def classes(classes):
|
||||
q = frozenset(classes.split(' '))
|
||||
return dict(
|
||||
attrs={'class': lambda x: x and frozenset(x.split()).intersection(q)})
|
||||
|
||||
class HinduHumanRights(BasicNewsRecipe):
|
||||
title = 'Hindu Human Rights'
|
||||
oldest_article = 30
|
||||
max_articles_per_feed = 100
|
||||
auto_cleanup = True
|
||||
|
||||
feeds = [
|
||||
('HHR main', 'https://www.hindusforhumanrights.org/en/home-6?format=rss'),
|
||||
]
|
19
recipes/IndiaFacts.recipe
Normal file
19
recipes/IndiaFacts.recipe
Normal file
@ -0,0 +1,19 @@
|
||||
#!/usr/bin/env python
|
||||
# vim:fileencoding=utf-8
|
||||
from calibre.web.feeds.news import BasicNewsRecipe
|
||||
|
||||
|
||||
def classes(classes):
|
||||
q = frozenset(classes.split(' '))
|
||||
return dict(
|
||||
attrs={'class': lambda x: x and frozenset(x.split()).intersection(q)})
|
||||
|
||||
class IndiaFacts(BasicNewsRecipe):
|
||||
title = 'IndiaFacts'
|
||||
oldest_article = 7
|
||||
max_articles_per_feed = 100
|
||||
auto_cleanup = True
|
||||
|
||||
feeds = [
|
||||
('India Facts main feed', 'https://www.indiafacts.org.in/feed/'),
|
||||
]
|
19
recipes/IndicToday.recipe
Normal file
19
recipes/IndicToday.recipe
Normal file
@ -0,0 +1,19 @@
|
||||
#!/usr/bin/env python
|
||||
# vim:fileencoding=utf-8
|
||||
from calibre.web.feeds.news import BasicNewsRecipe
|
||||
|
||||
|
||||
def classes(classes):
|
||||
q = frozenset(classes.split(' '))
|
||||
return dict(
|
||||
attrs={'class': lambda x: x and frozenset(x.split()).intersection(q)})
|
||||
|
||||
class IndicToday(BasicNewsRecipe):
|
||||
title = 'Indic Today'
|
||||
oldest_article = 7
|
||||
max_articles_per_feed = 100
|
||||
auto_cleanup = True
|
||||
|
||||
feeds = [
|
||||
('Indic Today Main feed', 'https://www.indica.today/feed/'),
|
||||
]
|
19
recipes/Pragyata.recipe
Normal file
19
recipes/Pragyata.recipe
Normal file
@ -0,0 +1,19 @@
|
||||
#!/usr/bin/env python
|
||||
# vim:fileencoding=utf-8
|
||||
from calibre.web.feeds.news import BasicNewsRecipe
|
||||
|
||||
|
||||
def classes(classes):
|
||||
q = frozenset(classes.split(' '))
|
||||
return dict(
|
||||
attrs={'class': lambda x: x and frozenset(x.split()).intersection(q)})
|
||||
|
||||
class Pragyata(BasicNewsRecipe):
|
||||
title = 'Pragyata'
|
||||
oldest_article = 7
|
||||
max_articles_per_feed = 100
|
||||
auto_cleanup = True
|
||||
|
||||
feeds = [
|
||||
('pragyata', 'https://pragyata.com/feed/'),
|
||||
]
|
19
recipes/prekshaa.recipe
Normal file
19
recipes/prekshaa.recipe
Normal file
@ -0,0 +1,19 @@
|
||||
#!/usr/bin/env python
|
||||
# vim:fileencoding=utf-8
|
||||
from calibre.web.feeds.news import BasicNewsRecipe
|
||||
|
||||
|
||||
def classes(classes):
|
||||
q = frozenset(classes.split(' '))
|
||||
return dict(
|
||||
attrs={'class': lambda x: x and frozenset(x.split()).intersection(q)})
|
||||
|
||||
class Prekshaa(BasicNewsRecipe):
|
||||
title = 'prekshaa'
|
||||
oldest_article = 7
|
||||
max_articles_per_feed = 100
|
||||
auto_cleanup = True
|
||||
|
||||
feeds = [
|
||||
('prekshaa', 'https://www.prekshaa.in/feed'),
|
||||
]
|
Loading…
x
Reference in New Issue
Block a user