Debian Codegraph @

recipes/zadolba_li.recipe

raw
1 #!/usr/bin/env python
2 # vim:fileencoding=utf-8
3 from __future__ import absolute_import, division, print_function, unicode_literals
4
5 from calibre.web.feeds.news import BasicNewsRecipe
6
7
8 class AdvancedUserRecipe1467722946(BasicNewsRecipe):
9 title = '\u0417\u0430\u0434\u043e\u043b\u0431\u0430!\u043b\u0438'
10 __author__ = 'bugmen00t'
11 description = '\u0412\u0441\u0451 \u043d\u0430\u0447\u0430\u043b\u043e\u0441\u044c \u0432 2009 \u0433\u043e\u0434\u0443 \u0441 \u0438\u0441\u0442\u043e\u0440\u0438\u0439 \u043e \u043a\u043b\u0438\u0435\u043d\u0442\u0430\u0445 \u0438 \u043f\u043e\u043a\u0443\u043f\u0430\u0442\u0435\u043b\u044f\u0445. \u041e\u043a\u0430\u0437\u0430\u043b\u043e\u0441\u044c, \u043d\u0435 \u0432\u0441\u0451 \u043b\u0430\u0434\u043d\u043e \u0438 \u0432 \u0443\u043d\u0438\u0432\u0435\u0440\u0441\u0438\u0442\u0435\u0442\u0430\u0445, \u0438 \u0432 \u0433\u043e\u0441\u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0430\u0445, \u0434\u0430 \u0438 \u0441\u043e\u0441\u0435\u0434\u0438 \u043d\u0435 \u0441\u0430\u0445\u0430\u0440. \u00ab\u0417\u0430\u0434\u043e\u043b\u0431\u0430!\u043b\u0438\u00bb \u043e\u0442\u043a\u0440\u044b\u0432\u0430\u0435\u0442 \u0433\u043b\u0430\u0437\u0430 \u043d\u0430 \u043d\u0435\u0433\u043b\u0430\u0441\u043d\u044b\u0435 \u043d\u043e\u0440\u043c\u044b \u043f\u043e\u0432\u0435\u0434\u0435\u043d\u0438\u044f, \u043f\u0440\u0438\u0432\u0438\u0432\u0430\u0435\u0442 \u0432\u0437\u0430\u0438\u043c\u043d\u0443\u044e \u0442\u0435\u0440\u043f\u0438\u043c\u043e\u0441\u0442\u044c \u0438 \u0434\u0430\u0440\u0438\u0442 \u0445\u043e\u0440\u043e\u0448\u0435\u0435 \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043d\u0438\u0435 \u043b\u044e\u0434\u044f\u043c \u0441 \u043e\u0431\u0435\u0438\u0445 \u0441\u0442\u043e\u0440\u043e\u043d \u043f\u0440\u0438\u043b\u0430\u0432\u043a\u0430. \u041c\u044b \u043d\u0435 \u043f\u0440\u0435\u0442\u0435\u043d\u0434\u0443\u0435\u043c \u043d\u0430 \u0437\u0432\u0430\u043d\u0438\u0435 \u0433\u043b\u0430\u0432\u043d\u043e\u0439 \u0436\u0430\u043b\u043e\u0431\u043d\u043e\u0439 \u043a\u043d\u0438\u0433\u0438 \u0420\u0443\u043d\u0435\u0442\u0430, \u043d\u043e \u043f\u043e\u0443\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u0438\u0441\u0442\u043e\u0440\u0438\u0439 \u0443 \u043d\u0430\u0441 \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e.' # noqa: E501
12 publisher = 'Chattyfish Ltd.'
13 category = 'news, humor'
14 cover_url = 'http://zadolba.li/assets/slowpoke/logo.png'
15 language = 'ru'
16 no_stylesheets = True
17 remove_javascript = True
18 auto_cleanup = False
19
20 oldest_article = 200
21 max_articles_per_feed = 100
22
23 feeds = [
24 ('\u0417\u0430\u0434\u043e\u043b\u0431\u0430!\u043b\u0438', 'http://zadolba.li/rss'),
25 ]
26
27 remove_tags_before = dict(name='div', attrs={'class': 'story'})
28 remove_tags_after = dict(name='div', attrs={'class': 'text'})
29 remove_tags = [dict(name='div', attrs={'class': 'tags'})]