| 1 |
#!/usr/bin/env python |
| 2 |
# vim:fileencoding=utf-8 |
| 3 |
|
| 4 |
from calibre.web.feeds.news import BasicNewsRecipe |
| 5 |
|
| 6 |
|
| 7 |
class Coda(BasicNewsRecipe): |
| 8 |
title = 'Coda \u043d\u0430 \u0440\u0443\u0441\u0441\u043a\u043e\u043c' |
| 9 |
__author__ = 'bugmen00t' |
| 10 |
description = 'Coda - \u043c\u0435\u0434\u0438\u0430, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0432\u044b\u044f\u0432\u043b\u044f\u0435\u0442 \u0441\u0432\u044f\u0437\u0438 \u043c\u0435\u0436\u0434\u0443 \u0441\u043e\u0431\u044b\u0442\u0438\u044f\u043c\u0438 \u0438 \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0430\u0435\u0442 \u0441\u043b\u0435\u0434\u0438\u0442\u044c \u0437\u0430 \u0438\u0441\u0442\u043e\u0440\u0438\u044f\u043c\u0438 \u0434\u0430\u0436\u0435 \u043f\u043e\u0441\u043b\u0435 \u0442\u043e\u0433\u043e, \u043a\u0430\u043a \u043e\u043d\u0438 \u043e\u043d\u0438 \u043f\u0440\u043e\u043f\u0430\u043b\u0438 \u0438\u0437 \u043f\u043e\u0432\u0435\u0441\u0442\u043a\u0438. Coda \u043f\u043e\u0433\u0440\u0443\u0436\u0430\u0435\u0442\u0441\u044f \u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e \u0432 \u0441\u0430\u043c\u0438 \u043a\u0440\u0438\u0437\u0438\u0441\u044b, \u043d\u043e \u0438 \u0432 \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0438\u0445 \u043e\u043a\u0440\u0443\u0436\u0430\u0435\u0442' # noqa: E501 |
| 11 |
publisher = 'Natalia Antelava & Ilan Greenberg' |
| 12 |
category = 'blog' |
| 13 |
cover_url = 'https://www.codastory.com/wp-content/uploads/2021/05/AT_thumbnail_512x512.png' |
| 14 |
language = 'ru' |
| 15 |
no_stylesheets = False |
| 16 |
remove_javascript = False |
| 17 |
auto_cleanup = False |
| 18 |
oldest_article = 180 |
| 19 |
max_articles_per_feed = 50 |
| 20 |
|
| 21 |
remove_tags_before = dict(name='article') |
| 22 |
|
| 23 |
remove_tags_after = dict(name='div', attrs={'class': 'article'}) |
| 24 |
|
| 25 |
remove_tags = [dict(name='li', attrs={'class': 'material-meta__type'}), dict(name='div', attrs={'class': 'more'})] |
| 26 |
|
| 27 |
feeds = [('CODA', 'https://www.codastory.com/ru/feed/')] |