| 1 |
#!/usr/bin/env python |
| 2 |
# vim:fileencoding=utf-8 |
| 3 |
|
| 4 |
from calibre.web.feeds.news import BasicNewsRecipe |
| 5 |
|
| 6 |
|
| 7 |
class Teplitsa(BasicNewsRecipe): |
| 8 |
title = '\u0422\u0435\u043f\u043b\u0438\u0446\u0430 \u0441\u043e\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0445 \u0442\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u0439' # noqa: E501 |
| 9 |
__author__ = 'bugmen00t' |
| 10 |
description = '\u0422\u0435\u043f\u043b\u0438\u0446\u0430 \u0441\u043e\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0445 \u0442\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u0439 \u2014 \u043d\u0435\u0437\u0430\u0432\u0438\u0441\u0438\u043c\u044b\u0439 \u043f\u0440\u043e\u0441\u0432\u0435\u0442\u0438\u0442\u0435\u043b\u044c\u0441\u043a\u0438\u0439 \u0438 \u0440\u0430\u0437\u0432\u0438\u0432\u0430\u044e\u0449\u0438\u0439 \u043f\u0440\u043e\u0435\u043a\u0442, \u043c\u0438\u0441\u0441\u0438\u044f \u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e \u2014 \u0443\u0441\u0438\u043b\u0438\u0442\u044c \u0440\u043e\u0441\u0441\u0438\u0439\u0441\u043a\u043e\u0435 \u0433\u0440\u0430\u0436\u0434\u0430\u043d\u0441\u043a\u043e\u0435 \u043e\u0431\u0449\u0435\u0441\u0442\u0432\u043e \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0445 \u0442\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u0439.' # noqa: E501 |
| 11 |
publisher = '\u0410\u041d\u041e \u00ab\u0410\u0433\u0435\u043d\u0442\u0441\u0442\u0432\u043e \u0441\u043e\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u0439 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438\u00bb' # noqa: E501 |
| 12 |
category = 'blog' |
| 13 |
cover_url = 'https://te-st.ru/wp-content/uploads/2014/05/logo_test.png' |
| 14 |
language = 'ru' |
| 15 |
no_stylesheets = False |
| 16 |
remove_javascript = False |
| 17 |
auto_cleanup = False |
| 18 |
remove_empty_feeds = True |
| 19 |
oldest_article = 30 |
| 20 |
max_articles_per_feed = 15 |
| 21 |
|
| 22 |
remove_tags_before = dict(name='h1') |
| 23 |
|
| 24 |
remove_tags_after = dict(name='article') |
| 25 |
|
| 26 |
remove_tags = [ |
| 27 |
dict(name='div', attrs={'class': 'post-reading-time'}), |
| 28 |
dict(name='div', attrs={'class': 'read-more'}), |
| 29 |
dict(name='p', attrs={'class': 'author-name'}), |
| 30 |
dict(name='p', attrs={'class': 'author-about'}), |
| 31 |
dict(name='footer'), |
| 32 |
] |
| 33 |
|
| 34 |
feeds = [ |
| 35 |
('\u0412\u0441\u0435 \u043c\u0430\u0442\u0435\u0440\u0438\u0430\u043b\u044b', 'https://te-st.ru/feed'), |
| 36 |
('\u0416\u0443\u0440\u043d\u0430\u043b', 'https://te-st.ru/section/journal/feed/'), |
| 37 |
('\u041f\u0440\u0430\u043a\u0442\u0438\u043a\u0430', 'https://te-st.ru/section/practice/feed/'), |
| 38 |
('\u0412\u0441\u0442\u0440\u0435\u0447\u0438', 'https://te-st.ru/section/events/feed/'), |
| 39 |
('\u0410\u0440\u0445\u0438\u0432', 'https://te-st.ru/section/archive/feed/'), |
| 40 |
('\u041d\u043e\u0432\u043e\u0441\u0442\u044c', 'https://te-st.ru/format/news-2/feed/'), |
| 41 |
('\u0421\u0442\u0430\u0442\u044c\u0438', 'https://te-st.ru/format/article/feed/'), |
| 42 |
('\u0418\u043d\u0442\u0435\u0440\u0432\u044c\u044e', 'https://te-st.ru/format/interview/feed/'), |
| 43 |
('\u041a\u0435\u0439\u0441\u044b', 'https://te-st.ru/format/case/feed/'), |
| 44 |
('\u0421\u043f\u0438\u0441\u043a\u0438', 'https://te-st.ru/format/list/feed/'), |
| 45 |
('\u0418\u0441\u0442\u043e\u0440\u0438\u0438', 'https://te-st.ru/format/story/feed/'), |
| 46 |
('\u0418\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438', 'https://te-st.ru/format/guide/feed/'), |
| 47 |
('\u041e\u0431\u0437\u043e\u0440\u044b', 'https://te-st.ru/format/overview/feed/'), |
| 48 |
('\u0410\u043d\u0430\u043b\u0438\u0442\u0438\u043a\u0430', 'https://te-st.ru/tag/analytics/feed'), |
| 49 |
( |
| 50 |
'\u0410\u043d\u0442\u0438\u0432\u043e\u0435\u043d\u043d\u044b\u0435 \u043a\u0430\u043c\u043f\u0430\u043d\u0438\u0438', |
| 51 |
'https://te-st.ru/tag/antivoennye-kampanii/feed', |
| 52 |
), |
| 53 |
('\u0411\u043b\u043e\u043a\u0447\u0435\u0439\u043d', 'https://te-st.ru/tag/blockchain/feed'), |
| 54 |
('\u0411\u043e\u0440\u044c\u0431\u0430 \u0441 \u0431\u0435\u0434\u043d\u043e\u0441\u0442\u044c\u044e', 'https://te-st.ru/tag/poverty/feed'), |
| 55 |
('\u0412\u0430\u043a\u0430\u043d\u0441\u0438\u0438 \u0432 \u041d\u041a\u041e', 'https://te-st.ru/tag/vacancies/feed'), |
| 56 |
('\u0412\u0438\u0437\u0443\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f', 'https://te-st.ru/tag/visualization/feed'), |
| 57 |
('\u0413\u0435\u043d\u0434\u0435\u0440\u043d\u043e\u0435 \u043d\u0430\u0441\u0438\u043b\u0438\u0435', 'https://te-st.ru/tag/gender-violence/feed'), |
| 58 |
( |
| 59 |
'\u0413\u0440\u0430\u0436\u0434\u0430\u043d\u0441\u043a\u0438\u0435 \u0442\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u0438', |
| 60 |
'https://te-st.ru/tag/civictech/feed', |
| 61 |
), |
| 62 |
( |
| 63 |
'\u0418\u043c\u043f\u0430\u043a\u0442-\u0438\u043d\u0432\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435', |
| 64 |
'https://te-st.ru/tag/impact-investing/feed', |
| 65 |
), |
| 66 |
( |
| 67 |
'\u0418\u043d\u043a\u043b\u044e\u0437\u0438\u0432\u043d\u044b\u0439 \u0434\u0438\u0437\u0430\u0439\u043d', |
| 68 |
'https://te-st.ru/tag/inclusive-design/feed', |
| 69 |
), |
| 70 |
( |
| 71 |
'\u0418\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u044b \u0438 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f', |
| 72 |
'https://te-st.ru/tag/tools/feed', |
| 73 |
), |
| 74 |
('\u0418\u043d\u0444\u043e\u0431\u0438\u0437\u043d\u0435\u0441', 'https://te-st.ru/tag/infobusiness/feed'), |
| 75 |
('\u0418\u0441\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u043d\u0438\u044f \u0432 \u041d\u041a\u041e', 'https://te-st.ru/tag/research/feed'), |
| 76 |
('\u0418\u0442\u043e\u0433\u0438 \u0433\u043e\u0434\u0430', 'https://te-st.ru/tag/results-of-the-year/feed'), |
| 77 |
('\u041a\u0430\u043d\u0434\u0438\u043d\u0441\u043a\u0438\u0439', 'https://te-st.ru/tag/kandinsky/feed'), |
| 78 |
('\u041a\u0430\u0440\u0442\u044b \u0438 \u043a\u0430\u0440\u0442\u043e\u0433\u0440\u0430\u0444\u0438\u044f', 'https://te-st.ru/tag/maps/feed'), |
| 79 |
('\u041a\u043e\u043c\u043c\u0443\u043d\u0438\u043a\u0430\u0446\u0438\u044f', 'https://te-st.ru/tag/discussion/feed'), |
| 80 |
('\u041a\u043e\u0440\u043e\u043d\u0430\u0432\u0438\u0440\u0443\u0441', 'https://te-st.ru/tag/coronavirus/feed'), |
| 81 |
('\u041a\u0440\u0430\u0443\u0434\u0441\u043e\u0440\u0441\u0438\u043d\u0433', 'https://te-st.ru/tag/crowdsourcing/feed'), |
| 82 |
('\u041a\u0440\u0430\u0443\u0434\u0444\u0430\u043d\u0434\u0438\u043d\u0433', 'https://te-st.ru/tag/crowdfunding/feed'), |
| 83 |
( |
| 84 |
'\u041a\u0443\u043b\u044c\u0442\u0443\u0440\u0430 \u0438 \u0442\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u0438', |
| 85 |
'https://te-st.ru/tag/tech-culture/feed', |
| 86 |
), |
| 87 |
('\u041b\u0430\u0431\u043e\u0440\u0430\u0442\u043e\u0440\u0438\u044f', 'https://te-st.ru/tag/laboratory/feed'), |
| 88 |
('\u041b\u0438\u0434\u0435\u0440\u0441\u0442\u0432\u043e', 'https://te-st.ru/tag/leadership/feed'), |
| 89 |
('\u041c\u0430\u0440\u043a\u0435\u0442\u0438\u043d\u0433', 'https://te-st.ru/tag/marketing/feed'), |
| 90 |
('\u041c\u0430\u0448\u0438\u043d\u043d\u043e\u0435 \u043e\u0431\u0443\u0447\u0435\u043d\u0438\u0435', 'https://te-st.ru/tag/machine-learning/feed'), |
| 91 |
( |
| 92 |
'\u041c\u0435\u0434\u0438\u0446\u0438\u043d\u0441\u043a\u0438\u0435 \u0442\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u0438', |
| 93 |
'https://te-st.ru/tag/medtech/feed', |
| 94 |
), |
| 95 |
('\u041c\u0435\u043d\u0435\u0434\u0436\u043c\u0435\u043d\u0442', 'https://te-st.ru/tag/management/feed'), |
| 96 |
('\u041c\u0435\u0441\u0441\u0435\u043d\u0434\u0436\u0435\u0440\u044b', 'https://te-st.ru/tag/messengers/feed'), |
| 97 |
('\u041c\u043e\u0431\u0438\u043b\u044c\u043d\u044b\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u044f', 'https://te-st.ru/tag/mobile/feed'), |
| 98 |
( |
| 99 |
'\u041e\u0431\u0449\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0435 \u043a\u0430\u043c\u043f\u0430\u043d\u0438\u0438', |
| 100 |
'https://te-st.ru/tag/campaigning/feed', |
| 101 |
), |
| 102 |
('\u041e\u043d\u043b\u0430\u0439\u043d-\u041b\u0435\u0439\u043a\u0430', 'https://te-st.ru/tag/online-leyka/feed'), |
| 103 |
( |
| 104 |
'\u041e\u043d\u043b\u0430\u0439\u043d-\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u043d\u0438\u0435', |
| 105 |
'https://te-st.ru/tag/education-online/feed', |
| 106 |
), |
| 107 |
('\u041e\u0442\u043a\u0440\u044b\u0442\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435', 'https://te-st.ru/tag/open-data/feed'), |
| 108 |
('\u041e\u0442\u043a\u0440\u044b\u0442\u044b\u0439 \u043a\u043e\u0434', 'https://te-st.ru/tag/opensource/feed'), |
| 109 |
('\u041f\u0430\u0441\u0435\u043a\u0430', 'https://te-st.ru/tag/paseka/feed'), |
| 110 |
('\u041f\u0440\u0430\u0432\u043e\u0432\u0430\u044f \u0431\u0430\u0437\u0430', 'https://te-st.ru/tag/regulations/feed'), |
| 111 |
('\u041f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435', 'https://te-st.ru/tag/programming/feed'), |
| 112 |
('\u0420\u0435\u043b\u0438\u0437\u044b \u00ab\u041b\u0435\u0439\u043a\u0438\u00bb', 'https://te-st.ru/tag/leyka-release/feed'), |
| 113 |
('\u0421\u0435\u043d\u0441\u043e\u0440\u044b', 'https://te-st.ru/tag/sensors/feed'), |
| 114 |
('\u0421\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u0432\u0438\u0434\u0435\u043e', 'https://te-st.ru/tag/video/feed'), |
| 115 |
( |
| 116 |
'\u0421\u043e\u0446\u0438\u0430\u043b\u044c\u043d\u043e-\u043e\u0440\u0438\u0435\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u0434\u0438\u0437\u0430\u0439\u043d', # noqa: E501 |
| 117 |
'https://te-st.ru/tag/responsible-design/feed', |
| 118 |
), |
| 119 |
( |
| 120 |
'\u0421\u043e\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u0435 \u043f\u0440\u0435\u0434\u043f\u0440\u0438\u043d\u0438\u043c\u0430\u0442\u0435\u043b\u044c\u0441\u0442\u0432\u043e', # noqa: E501 |
| 121 |
'https://te-st.ru/tag/social-entrepreneurship/feed', |
| 122 |
), |
| 123 |
('\u0421\u0442\u0430\u0440\u0442\u0430\u043f\u044b', 'https://te-st.ru/tag/startups/feed'), |
| 124 |
('\u0422\u0435\u043f\u043b\u0438\u0446\u0430.\u041a\u0443\u0440\u0441\u044b', 'https://te-st.ru/tag/teplitsa-kursy/feed'), |
| 125 |
( |
| 126 |
'\u0422\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u0438 \u0432 \u0431\u043e\u0440\u044c\u0431\u0435 \u0441 \u0440\u0430\u043a\u043e\u043c', |
| 127 |
'https://te-st.ru/tag/cancer/feed', |
| 128 |
), |
| 129 |
( |
| 130 |
'\u0422\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u0438 \u0434\u043b\u044f \u043f\u043e\u0436\u0438\u043b\u044b\u0445', |
| 131 |
'https://te-st.ru/tag/itforelderly/feed', |
| 132 |
), |
| 133 |
('\u0422\u043e\u043a\u0438\u043e', 'https://te-st.ru/tag/tokio/feed'), |
| 134 |
('\u0423\u0434\u0430\u043b\u0435\u043d\u043d\u0430\u044f \u0440\u0430\u0431\u043e\u0442\u0430', 'https://te-st.ru/tag/remote-work/feed'), |
| 135 |
('\u0424\u0430\u043d\u0434\u0440\u0430\u0439\u0437\u0438\u043d\u0433', 'https://te-st.ru/tag/fundraising/feed'), |
| 136 |
('\u0424\u043e\u0442\u043e\u0433\u0440\u0430\u0444\u0438\u0438', 'https://te-st.ru/tag/photo/feed'), |
| 137 |
( |
| 138 |
'\u0426\u0438\u0444\u0440\u043e\u0432\u0430\u044f \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u044c', |
| 139 |
'https://te-st.ru/tag/digital-security/feed', |
| 140 |
), |
| 141 |
( |
| 142 |
'\u0426\u0438\u0444\u0440\u043e\u0432\u0430\u044f \u0442\u0440\u0430\u043d\u0441\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f', |
| 143 |
'https://te-st.ru/tag/digital-transformation/feed', |
| 144 |
), |
| 145 |
('\u0426\u0438\u0444\u0440\u043e\u0432\u044b\u0435 \u043f\u0440\u0430\u0432\u0430', 'https://te-st.ru/tag/digital-rights/feed'), |
| 146 |
('\u0427\u0430\u0442-\u0431\u043e\u0442\u044b', 'https://te-st.ru/tag/chatbots/feed'), |
| 147 |
('\u042d\u043a\u043e\u043b\u043e\u0433\u0438\u044f', 'https://te-st.ru/tag/ecology/feed'), |
| 148 |
('\u042d\u0442\u0438\u043a\u0430 \u0432 \u0442\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u044f\u0445', 'https://te-st.ru/tag/ethics/feed'), |
| 149 |
('IT-\u0432\u043e\u043b\u043e\u043d\u0442\u0435\u0440', 'https://te-st.ru/tag/itv/feed'), |
| 150 |
('Meet and code', 'https://te-st.ru/tag/meet-and-code/feed'), |
| 151 |
('PhilTech', 'https://te-st.ru/tag/philtech/feed'), |
| 152 |
('Scrum', 'https://te-st.ru/tag/scrum/feed'), |
| 153 |
('TeploDigital', 'https://te-st.ru/tag/teplodigital/feed'), |
| 154 |
('UX/UI \u0434\u0438\u0437\u0430\u0439\u043d', 'https://te-st.ru/tag/uxui/feed'), |
| 155 |
('VR/AR \u0442\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u0438', 'https://te-st.ru/tag/arvr/feed'), |
| 156 |
('WordPress', 'https://te-st.ru/tag/wordpress/feed'), |
| 157 |
] |