mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Various Russian News sources by bug_me_not
This commit is contained in:
parent
119108371c
commit
91cc3ab2a3
32
recipes/colta.recipe
Normal file
32
recipes/colta.recipe
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
# vim:fileencoding=UTF-8
|
||||||
|
from __future__ import unicode_literals
|
||||||
|
|
||||||
|
from calibre.web.feeds.news import BasicNewsRecipe
|
||||||
|
|
||||||
|
class Colta(BasicNewsRecipe):
|
||||||
|
language = 'ru'
|
||||||
|
__author__ = 'bug_me_not'
|
||||||
|
title = u'Colta.ru'
|
||||||
|
description = 'Всё о культуре и духе времени'
|
||||||
|
publisher = 'OpenSpace.ru'
|
||||||
|
category = 'news'
|
||||||
|
cover_url = u'http://www.colta.ru/assets/logo-afb684c3d35fc1f6f103f9fb638c8ec1.png'
|
||||||
|
language = 'ru'
|
||||||
|
no_stylesheets = True
|
||||||
|
remove_javascript = True
|
||||||
|
|
||||||
|
oldest_article = 21
|
||||||
|
max_articles_per_feed = 200
|
||||||
|
|
||||||
|
feeds = [(u'Colta.ru', u'http://www.colta.ru/feed')]
|
||||||
|
|
||||||
|
remove_tags_before = dict(name='section', attrs={'id':'content'})
|
||||||
|
remove_tags_after = dict(name='div', attrs={'class':'content'})
|
||||||
|
remove_tags = [
|
||||||
|
dict(name='div',attrs={'id':'right'}),
|
||||||
|
dict(name='div',attrs={'class':'soc_block'}),
|
||||||
|
dict(name='a',attrs={'class':'help_site like_material'}),
|
||||||
|
dict(name='div',attrs={'class':'share'}),
|
||||||
|
dict(name='div',attrs={'class':'comments_head'}),
|
||||||
|
dict(name='div',attrs={'id':'disqus_thread'})
|
||||||
|
]
|
25
recipes/dingoo_a320.recipe
Normal file
25
recipes/dingoo_a320.recipe
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
# vim:fileencoding=UTF-8
|
||||||
|
from __future__ import unicode_literals
|
||||||
|
|
||||||
|
from calibre.web.feeds.news import BasicNewsRecipe
|
||||||
|
|
||||||
|
class Dingoo(BasicNewsRecipe):
|
||||||
|
language = 'ru'
|
||||||
|
__author__ = 'bug_me_not'
|
||||||
|
title = u'Dingoo A320. \u0420\u0443\u0441\u0441\u043a\u0438\u0439 \u0440\u0435\u0441\u0443\u0440\u0441'
|
||||||
|
description = 'Портативная игровая консоль Dingoo A320 и другие необычные гаджеты'
|
||||||
|
publisher = 'Emulate.SU'
|
||||||
|
category = 'console'
|
||||||
|
cover_url = u'http://upload.wikimedia.org/wikipedia/commons/thumb/0/02/Dingoo_A320_White.jpg/300px-Dingoo_A320_White.jpg'
|
||||||
|
language = 'en'
|
||||||
|
no_stylesheets = False
|
||||||
|
remove_javascript = True
|
||||||
|
|
||||||
|
oldest_article = 20
|
||||||
|
max_articles_per_feed = 200
|
||||||
|
|
||||||
|
feeds = [(u'A320', u'http://feeds.feedburner.com/ru_dingoo')]
|
||||||
|
|
||||||
|
remove_tags_before = dict(name='div', attrs={'class':'posttitle'})
|
||||||
|
remove_tags_after = dict(name='div', attrs={'class':'article'})
|
||||||
|
remove_tags = [dict(name='iframe')]
|
23
recipes/inopressa.recipe
Normal file
23
recipes/inopressa.recipe
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
# vim:fileencoding=UTF-8
|
||||||
|
from __future__ import unicode_literals
|
||||||
|
|
||||||
|
from calibre.web.feeds.news import BasicNewsRecipe
|
||||||
|
|
||||||
|
class Dingoo(BasicNewsRecipe):
|
||||||
|
language = 'ru'
|
||||||
|
__author__ = 'bug_me_not'
|
||||||
|
title = u'\u0418\u043d\u043e\u041f\u0440\u0435\u0441\u0441\u0430'
|
||||||
|
description = 'Иностранная пресса о России и не только'
|
||||||
|
cover_url = u'http://static.inopressa.ru/img/inopressa-logo-light.gif'
|
||||||
|
language = 'ru'
|
||||||
|
oldest_article = 14
|
||||||
|
max_articles_per_feed = 200
|
||||||
|
|
||||||
|
no_stylesheets = False
|
||||||
|
remove_javascript = True
|
||||||
|
auto_cleanup = True
|
||||||
|
|
||||||
|
feeds = [(u'\u043e \u0420\u043e\u0441\u0441\u0438\u0438 \u0438 \u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e', u'http://pda.inopressa.ru/rss')]
|
||||||
|
|
||||||
|
remove_tags_before = dict(name='div', attrs={'class':'article'})
|
||||||
|
remove_tags_after = dict(name='div', attrs={'class':'source'})
|
Loading…
x
Reference in New Issue
Block a user