calibre/recipes/down_to_earth.recipe
2022-02-04 21:47:51 +05:30

27 lines
796 B
Plaintext

from calibre.web.feeds.news import BasicNewsRecipe, classes
class My_Feeds(BasicNewsRecipe):
title = 'Down To Earth'
language = 'en_IN'
oldest_article = 20
__author__ = 'Amit'
max_articles_per_feed = 100
no_stylesheets = True
remove_javascript = True
center_navbar = True
use_embedded_content = False
remove_empty_feeds = True
keep_only_tags = [
classes('detail-heading content-main news-basic-info news-banner news-detail-content')
]
remove_tags = [
classes('add-comment btn hindi_detail_link single-news-letter'),
dict(id=['comments', 'breadcrumb', 'node_related_stories']),
dict(attrs={'class': ['commentCount', 'box']})
]
feeds = [
('All', 'https://www.downtoearth.org.in/rss/all'),
]