calibre/recipes/hindu_human_rights.recipe
Kovid Goyal d9c1cb9501
India speaks reddit feed
Also some more changes to NYPost
2021-11-10 10:01:55 +05:30

22 lines
601 B
Python

#!/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'
__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?format=rss'),
]