#!/usr/bin/env python # vim:fileencoding=utf-8 from calibre.web.feeds.news import BasicNewsRecipe class StopGame(BasicNewsRecipe): title = 'StopGame' __author__ = 'bugmen00t' description = ' \u0420\u043e\u0441\u0441\u0438\u0439\u0441\u043a\u0438\u0439 \u0438\u0433\u0440\u043e\u0432\u043e\u0439 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442-\u043f\u043e\u0440\u0442\u0430\u043b, \u043d\u0430 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u043a\u043e\u043b\u043b\u0435\u043a\u0442\u0438\u0432 \u0430\u0432\u0442\u043e\u0440\u043e\u0432 \u0440\u0430\u0441\u0441\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u0432\u0441\u0435\u043c \u0436\u0435\u043b\u0430\u044e\u0449\u0438\u043c \u043e \u0432\u0438\u0434\u0435\u043e\u0438\u0433\u0440\u0430\u0445. ' # noqa: E501 publisher = 'StopGame.ru' category = 'blog' cover_url = 'https://images.stopgame.ru/blogs/2020/01/29/U7R7t5rQ.jpg' language = 'ru' no_stylesheets = False remove_javascript = False auto_cleanup = False oldest_article = 7 max_articles_per_feed = 50 remove_tags_before = dict(name='h1') remove_tags_after = dict(name='div', attrs={'class': '_end-info_zp673_1113'}) remove_tags = [ dict(name='section', attrs={'id': 'comments'}), dict(name='footer'), dict(name='section', attrs={'class': '_page-section_xdzdd_387 _additional-reads_zp673_1348'}), ] feeds = [ ('\u0412\u0441\u0435 \u0440\u0430\u0437\u0434\u0435\u043b\u044b', 'https://rss.stopgame.ru/rss_all.xml'), ('\u041d\u043e\u0432\u043e\u0441\u0442\u0438', 'https://rss.stopgame.ru/rss_news.xml'), ('\u0421\u0442\u0430\u0442\u044c\u0438', 'https://rss.stopgame.ru/articles.xml'), ('\u0412\u0438\u0434\u0435\u043e', 'https://rss.stopgame.ru/videos.xml'), ('\u0411\u043b\u043e\u0433\u0438', 'https://rss.stopgame.ru/all_topics.xml'), ]