#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals from calibre.web.feeds.news import BasicNewsRecipe class ProSleduet(BasicNewsRecipe): title = '\u041f\u0440\u043e\u0434\u043e\u043b\u0436\u0435\u043d\u0438\u0435 \u0441\u043b\u0435\u0434\u0443\u0435\u0442' __author__ = 'bugmen00t' description = ( '\u0414\u0438\u0434\u0436\u0438\u0442\u0430\u043b-\u043f\u0440\u043e\u0435\u043a\u0442' ' \u0436\u0443\u0440\u043d\u0430\u043b\u0438\u0441\u0442\u043e\u0432' ' \u00ab\u041d\u043e\u0432\u043e\u0439 \u0433\u0430\u0437\u0435\u0442\u044b\u00bb' ) publisher = 'Pavel Kanygin, Natalia Zhdanova' category = 'news' cover_url = 'https://prosleduet.media/wp-content/themes/prosle/assets/img/logo.svg' language = 'ru' no_stylesheets = True remove_javascript = False auto_cleanup = False oldest_article = 7 max_articles_per_feed = 20 remove_tags_before = dict(name='div', attrs={'class': 'container'}) remove_tags_after = dict(name='div', attrs={'class': 'container'}) remove_tags = [dict(name='div', attrs={'class': 'ya-share2 ya-share2_inited'})] feeds = [ # ('\u041F\u0440\u043E\u0434\u043E\u043B\u0436\u0435\u043D\u0438\u0435 \u0441\u043B\u0435\u0434\u0443\u0435\u0442', 'https://prosleduet.media/feed/'), ('\u041d\u043e\u0432\u043e\u0441\u0442\u0438', 'https://prosleduet.media/category/news/feed/'), ('\u041b\u044e\u0434\u0438', 'https://prosleduet.media/category/people/feed/'), ('\u0421\u044e\u0436\u0435\u0442\u044b', 'https://prosleduet.media/category/syuzhety/feed/'), ('\u041f\u043e\u0434\u043a\u0430\u0441\u0442\u044b', 'https://prosleduet.media/category/podcasts/feed/'), ('\u0420\u0430\u0437\u0431\u043e\u0440\u044b', 'https://prosleduet.media/category/details/feed/'), ( '\u0413\u043b\u0443\u0431\u0438\u043d\u043d\u0430\u044f \u0420\u043e\u0441\u0441\u0438\u044f', 'https://prosleduet.media/category/glubinnaya-rossiya/feed/', ), ]