| 1 |
#!/usr/bin/env python |
| 2 |
# vim:fileencoding=utf-8 |
| 3 |
|
| 4 |
from __future__ import absolute_import, division, print_function, unicode_literals |
| 5 |
|
| 6 |
from calibre.web.feeds.news import BasicNewsRecipe |
| 7 |
|
| 8 |
|
| 9 |
class Poligon(BasicNewsRecipe): |
| 10 |
title = '\u041f\u043e\u043b\u0438\u0433\u043e\u043d' |
| 11 |
__author__ = 'bugmen00t' |
| 12 |
description = '\u041d\u0435\u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0435 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442-\u0438\u0437\u0434\u0430\u043d\u0438\u0435, \u0432\u044b\u043f\u0443\u0441\u043a\u0430\u0435\u043c\u043e\u0435 \u0436\u0443\u0440\u043d\u0430\u043b\u0438\u0441\u0442\u0430\u043c\u0438 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u0445 \u0440\u043e\u0441\u0441\u0438\u0439\u0441\u043a\u0438\u0445 \u0438\u0437\u0434\u0430\u043d\u0438\u0439, \u043f\u043e\u0434\u0432\u0435\u0440\u0433\u0448\u0438\u0445\u0441\u044f \u0434\u0430\u0432\u043b\u0435\u043d\u0438\u044e \u0441\u043e \u0441\u0442\u043e\u0440\u043e\u043d\u044b \u0433\u043e\u0441\u0443\u0434\u0430\u0440\u0441\u0442\u0432\u0430. \u041f\u0438\u0448\u0435\u043c \u043e \u0420\u043e\u0441\u0441\u0438\u0438 \u0438 \u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e.' # noqa: E501 |
| 13 |
publisher = 'poligon.media' |
| 14 |
category = 'news' |
| 15 |
cover_url = 'https://www.plgnmedia.io/wp-content/uploads/2022/02/poligon-share.png' |
| 16 |
language = 'ru' |
| 17 |
no_stylesheets = False |
| 18 |
remove_javascript = False |
| 19 |
auto_cleanup = False |
| 20 |
oldest_article = 14 |
| 21 |
max_articles_per_feed = 10 |
| 22 |
|
| 23 |
remove_tags_after = dict(name='article') |
| 24 |
|
| 25 |
feeds = [ |
| 26 |
('\u0412\u0441\u0435 \u043c\u0430\u0442\u0435\u0440\u0438\u0430\u043b\u044b', 'https://poligonmedia.io/feed/'), |
| 27 |
('\u041d\u043e\u0432\u043e\u0441\u0442\u0438', 'https://poligonmedia.io/category/news/feed/'), |
| 28 |
('\u0418\u043d\u0442\u0435\u0440\u0432\u044c\u044e', 'https://poligonmedia.io/category/int/feed/'), |
| 29 |
('\u0420\u0430\u0441\u043a\u043b\u0430\u0434', 'https://poligonmedia.io/category/rasklad/feed/'), |
| 30 |
('\u0420\u0430\u0441\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u043d\u0438\u044f', 'https://poligonmedia.io/category/rassled/feed/'), |
| 31 |
('\u0420\u0435\u043f\u043e\u0440\u0442\u0430\u0436', 'https://poligonmedia.io/category/reportazh/feed/'), |
| 32 |
('\u041c\u043e\u0436\u0435\u043c \u043e\u0431\u044a\u044f\u0441\u043d\u0438\u0442\u044c', 'https://poligonmedia.io/category/mozhem-obyasnit/feed/'), |
| 33 |
('\u0418\u0441\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u043d\u0438\u044f', 'https://poligonmedia.io/category/issledovaniya/feed/'), |
| 34 |
('English', 'https://poligon.media/category/eng/feed/'), |
| 35 |
] |