mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-09-29 15:31:08 -04:00
27 lines
796 B
Plaintext
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'),
|
|
]
|