Debian Codegraph @

recipes/rbc_ru.recipe

raw
1 from calibre.web.feeds.news import BasicNewsRecipe
2
3
4 class RBC_ru(BasicNewsRecipe):
5 title = 'RBC.ru'
6 __author__ = 'A. Chewi (with fixes by bugmen00t)'
7 description = 'Российское информационное агентство «РосБизнесКонсалтинг» (РБК) - ленты новостей политики, экономики и финансов, аналитические материалы, комментарии и прогнозы, тематические статьи' # noqa: E501
8 needs_subscription = False
9 cover_url = 'https://pics.rbc.ru/img/fp_v4/skin/img/logo.gif'
10 cover_margins = (80, 160, '#ffffff')
11 oldest_article = 20
12 max_articles_per_feed = 50
13 summary_length = 200
14 remove_empty_feeds = True
15 no_stylesheets = True
16 remove_javascript = True
17 use_embedded_content = False
18 conversion_options = {'linearize_tables': True}
19 auto_cleanup = True
20 language = 'ru'
21 timefmt = ' [%a, %d %b, %Y]'
22
23 feeds = [
24 ('RSS \u043d\u043e\u0432\u043e\u0441\u0442\u0438', 'https://rssexport.rbc.ru/rbcnews/news/30/full.rss'),
25 (
26 '\u0413\u043b\u0430\u0432\u043d\u044b\u0435\u0020\u043d\u043e\u0432\u043e\u0441\u0442\u0438',
27 'http://static.feed.rbc.ru/rbc/internal/rss.rbc.ru/rbc.ru/news.rss',
28 ),
29 ]