diff --git a/recipes/7x7.recipe b/recipes/7x7.recipe new file mode 100644 index 0000000000..98dc0f0f27 --- /dev/null +++ b/recipes/7x7.recipe @@ -0,0 +1,35 @@ +#!/usr/bin/env python2 +# vim:fileencoding=utf-8 +from __future__ import unicode_literals, division, absolute_import, print_function +from calibre.web.feeds.news import BasicNewsRecipe + + +class AdvancedUserRecipe1467715002(BasicNewsRecipe): + title = '7x7' + __author__ = 'bugmen00t' + description = '7x7 - межрегиональный интернет-журнал' + publisher = '7x7-journal.ru' + category = 'news' + cover_url = u'https://7x7-journal.ru/public/img/template/logo.png' + language = 'ru' + no_stylesheets = True + remove_javascript = True + auto_cleanup = False + + oldest_article = 100 + max_articles_per_feed = 100 + + feeds = [ + ('7x7', 'https://7x7-journal.ru/newsline/rss'), + ] + + remove_tags_before = dict(name='article') + remove_tags_after = dict(name='div', attrs={'class': 'article__footer'}) + remove_tags = [ + dict(name='div', attrs={ + 'class': 'article__footer' + }), + dict(name='div', attrs={ + 'class': 'article__tags' + }) + ] diff --git a/recipes/breaking_mad.recipe b/recipes/breaking_mad.recipe new file mode 100644 index 0000000000..e970ee22b0 --- /dev/null +++ b/recipes/breaking_mad.recipe @@ -0,0 +1,39 @@ +#!/usr/bin/env python2 +# vim:fileencoding=utf-8 +from __future__ import unicode_literals, division, absolute_import, print_function +from calibre.web.feeds.news import BasicNewsRecipe + + +class AdvancedUserRecipe1467715002(BasicNewsRecipe): + title = 'Breaking Mad' + __author__ = 'bugmen00t' + description = 'Breaking Mad - пока смерть не насмешит нас. Breakingmad - это агрегатор самых странных и драматичных новостей с жизнеутверждающим эффектом. Breakingmad - это все, что вы должны знать о России и не только.' # noqa + publisher = 'BreakingMad' + category = 'news' + cover_url = u'http://breakingmad.me/images/logo.png' + language = 'ru' + no_stylesheets = False + remove_javascript = True + auto_cleanup = False + + oldest_article = 100 + max_articles_per_feed = 50 + + feeds = [ + ('Общий канал', 'http://breakingmad.me/ru/rss'), + ('Страшное', 'http://breakingmad.me/ru/terrible/rss'), + ('Смешное', 'http://breakingmad.me/ru/comedy/rss'), + ('Странное', 'http://breakingmad.me/ru/weird/rss'), + ('Популярное', 'http://breakingmad.me/ru/popular/rss'), + ] + + remove_tags_before = dict(name='div', attrs={'class': 'news-row'}) + remove_tags_after = dict(name='div', attrs={'class': 'news-bottom'}) + remove_tags = [ + dict(name='div', attrs={ + 'class': 'news-bottom-center' + }), + dict(name='span', attrs={ + 'class': 'ico-link news-bottom-link' + }) + ] diff --git a/recipes/oba.recipe b/recipes/oba.recipe new file mode 100644 index 0000000000..024e17bb47 --- /dev/null +++ b/recipes/oba.recipe @@ -0,0 +1,26 @@ +#!/usr/bin/env python2 +# vim:fileencoding=utf-8 +from __future__ import unicode_literals, division, absolute_import, print_function +from calibre.web.feeds.news import BasicNewsRecipe + + +class AdvancedUserRecipe1510778177(BasicNewsRecipe): + title = '\u041e\u0412\u0414-\u0418\u043d\u0444\u043e' + __author__ = 'bugmen00t' + description = 'Независимый правозащитный медиа-проект, посвященный политическим преследованиям в России.' + publisher = 'Ovdinfo.Org' + category = 'news' + cover_url = u'https://ovdinfo.org/sites/all/themes/ovdinfo/img/logo-ovdinfo.png' + language = 'ru' + no_stylesheets = True + remove_javascript = True + auto_cleanup = True + + feeds = [ + ( + '\u041d\u043e\u0432\u043e\u0441\u0442\u0438', + 'https://ovdinfo.org/rss.xml' + ), + ] + + remove_tags = [dict(name='a', attrs={'class': 'overtitle'})]