| 1 |
#!/usr/bin/env python |
| 2 |
# vim:fileencoding=utf-8 |
| 3 |
|
| 4 |
from calibre.web.feeds.news import BasicNewsRecipe |
| 5 |
|
| 6 |
|
| 7 |
class Tayga(BasicNewsRecipe): |
| 8 |
title = '\u0422\u0430\u0439\u0433\u0430.\u0438\u043d\u0444\u043e' |
| 9 |
__author__ = 'bugmen00t' |
| 10 |
description = '\u0418\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u043e\u043d\u043d\u043e-\u0430\u043d\u0430\u043b\u0438\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0435 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442-\u0438\u0437\u0434\u0430\u043d\u0438\u0435 \u043e \u043f\u043e\u043b\u0438\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u0438 \u044d\u043a\u043e\u043d\u043e\u043c\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u0441\u043e\u0431\u044b\u0442\u0438\u044f\u0445 \u0421\u0438\u0431\u0438\u0440\u0441\u043a\u043e\u0433\u043e \u0444\u0435\u0434\u0435\u0440\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u043e\u043a\u0440\u0443\u0433\u0430.' # noqa: E501 |
| 11 |
publisher = '\u0422\u0430\u0439\u0433\u0430.\u0438\u043d\u0444\u043e' |
| 12 |
category = 'blog' |
| 13 |
cover_url = 'https://tayga.info/design/logo.svg' |
| 14 |
language = 'ru' |
| 15 |
no_stylesheets = True |
| 16 |
remove_javascript = False |
| 17 |
auto_cleanup = False |
| 18 |
oldest_article = 7 |
| 19 |
max_articles_per_feed = 60 |
| 20 |
|
| 21 |
remove_tags_before = dict(name='h1') |
| 22 |
|
| 23 |
remove_tags_after = dict(name='div', attrs={'class': 'news_content'}) |
| 24 |
|
| 25 |
remove_tags = [dict(name='p', attrs={'class': 't_left'})] |
| 26 |
|
| 27 |
feeds = [('\u0422\u0430\u0439\u0433\u0430.\u0438\u043d\u0444\u043e', 'https://tayga.info/rss')] |