Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Recipes

Notices

Reply
 
Thread Tools Search this Thread
Old 07-05-2016, 12:48 PM   #1
bugmen00t
Member
bugmen00t knows the way to San Jose.bugmen00t knows the way to San Jose.bugmen00t knows the way to San Jose.bugmen00t knows the way to San Jose.bugmen00t knows the way to San Jose.bugmen00t knows the way to San Jose.bugmen00t knows the way to San Jose.bugmen00t knows the way to San Jose.bugmen00t knows the way to San Jose.bugmen00t knows the way to San Jose.bugmen00t knows the way to San Jose.
 
bugmen00t's Avatar
 
Posts: 12
Karma: 54046
Join Date: Aug 2015
Device: Amazon Kindle Keyboard 3G+WiFi + Amazon Kindle Voyage WiFi
Cool Bunch of Russian Recipes

Hi there!

Dumping some recipes in Russian I've made on request. The content is diverse, from political blogs to scientific news to geek humour.

Navalny.com
Code:
#!/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 AdvancedUserRecipe1467716191(BasicNewsRecipe):
    title          = '\u0410\u043b\u0435\u043a\u0441\u0435\u0439 \u041d\u0430\u0432\u0430\u043b\u044c\u043d\u044b\u0439'
    __author__            = 'bugmen00t'
    description           = '\u0411\u043B\u043E\u0433 \u0410\u043B\u0435\u043A\u0441\u0435\u044F \u041D\u0430\u0432\u0430\u043B\u044C\u043D\u043E\u0433\u043E. \u0424\u0438\u043D\u0430\u043B\u044C\u043D\u0430\u044F \u0431\u0438\u0442\u0432\u0430 \u043C\u0435\u0436\u0434\u0443 \u0434\u043E\u0431\u0440\u043E\u043C \u0438 \u043D\u0435\u0439\u0442\u0440\u0430\u043B\u0438\u0442\u0435\u0442\u043E\u043C'
    publisher             = 'navalny.com'
    category              = 'news'
    cover_url = u'https://st.navalny.com/static/images/present.dd46b90f0221.png'
    language              = 'ru'
    no_stylesheets        = False
    remove_javascript = True
    auto_cleanup   = False


    oldest_article = 200
    max_articles_per_feed = 100

    feeds          = [
        ('\u0410\u043b\u0435\u043a\u0441\u0435\u0439 \u041d\u0430\u0432\u0430\u043b\u044c\u043d\u044b\u0439', 'https://navalny.com/blog/post.rss'),
    ]

    remove_tags_before = dict(name='div', attrs={'class':'b-content'})
    remove_tags_after  = dict(name='div', attrs={'class':'b-post__content'})
    remove_tags     = [dict(name='div',attrs={'class':'b-post__bottom'}),dict(name='div',attrs={'id':'c'})]
Bash.org.ru
Code:
#!/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 AdvancedUserRecipe1467721014(BasicNewsRecipe):
    title          = '\u0411\u0430\u0448\u043e\u0440\u0433'
    __author__            = 'bugmen00t'
    description           = '\u0426\u0438\u0442\u0430\u0442\u043D\u0438\u043A \u0420\u0443\u043D\u0435\u0442\u0430'
    publisher             = 'Chattyfish Ltd.'
    category              = 'news', 'humor'
    cover_url = u'http://s.bash.im/logo.gif'
    language              = 'ru'
    no_stylesheets        = True
    remove_javascript = True
    auto_cleanup   = False


    oldest_article = 200
    max_articles_per_feed = 100

    feeds = [
        ('\u0411\u0430\u0448\u043e\u0440\u0433', 'http://bash.im/rss/'),
        ('\u0411\u0430\u0448\u043e\u0440\u0433 - \u041a\u043e\u043c\u0438\u043a\u0441\u044b', 'http://bash.im/rss/comics.xml'),
    ]    

    remove_tags_before = dict(name='div', attrs={'class':'actions'})
    remove_tags_after = dict(name='div', attrs={'class':'text'})
    remove_tags = [dict(name='div',attrs={'class':'actions'}),
    dict(name='div',attrs={'id':'xsite-nav'}),
    dict(name='div',attrs={'id':'header'}),    
    dict(name='div',attrs={'id':'menubar'}),
    dict(name='div',attrs={'id':'boiler'}),
    dict(name='div',attrs={'id':'footer'}),
    dict(name='div',attrs={'id':'navi'})
    ]
Zadolba.li
Code:
#!/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 AdvancedUserRecipe1467722946(BasicNewsRecipe):
    title          = '\u0417\u0430\u0434\u043e\u043b\u0431\u0430!\u043b\u0438'
    __author__            = 'bugmen00t'
    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.'
    publisher             = 'Chattyfish Ltd.'
    category              = 'news, humor'
    cover_url = u'http://zadolba.li/assets/slowpoke/logo.png'
    language              = 'ru'
    no_stylesheets        = True
    remove_javascript = True
    auto_cleanup   = False


    oldest_article = 200
    max_articles_per_feed = 100

    feeds          = [
        ('\u0417\u0430\u0434\u043e\u043b\u0431\u0430!\u043b\u0438', 'http://zadolba.li/rss'),
    ]    

    remove_tags_before = dict(name='div', attrs={'class':'story'})
    remove_tags_after = dict(name='div', attrs={'class':'text'})
    remove_tags = [dict(name='div',attrs={'class':'tags'})]
IT happens
Code:
#!/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 AdvancedUserRecipe1467723439(BasicNewsRecipe):
    title          = 'IT happens'
    __author__            = 'bugmen00t'
    description           = '\u0421\u0431\u043E\u0440\u043D\u0438\u043A \u0438\u0441\u0442\u043E\u0440\u0438\u0439 \u0438\u0437 \u0436\u0438\u0437\u043D\u0438 \u0441\u0438\u0441\u0442\u0435\u043C\u043D\u044B\u0445 \u0430\u0434\u043C\u0438\u043D\u0438\u0441\u0442\u0440\u0430\u0442\u043E\u0440\u043E\u0432, \u0438\u043D\u0436\u0435\u043D\u0435\u0440\u043E\u0432, \u044D\u043D\u0438\u043A\u0435\u0439\u0449\u0438\u043A\u043E\u0432 \u0438 \u043F\u0440\u043E\u0433\u0440\u0430\u043C\u043C\u0438\u0441\u0442\u043E\u0432. \u041D\u0430\u043C \u0435\u0441\u0442\u044C \u043E \u0447\u0451\u043C \u0440\u0430\u0441\u0441\u043A\u0430\u0437\u0430\u0442\u044C \u0434\u0440\u0443\u0433 \u0434\u0440\u0443\u0433\u0443, \u0438 \u044D\u0442\u043E\u0442 \u0441\u0430\u0439\u0442 \u043F\u0440\u0438\u0437\u0432\u0430\u043D \u043F\u043E\u043C\u043E\u0447\u044C \u0432\u0441\u0435\u043C \u0440\u0430\u0431\u043E\u0442\u043D\u0438\u043A\u0430\u043C \u00AB\u043E\u0442 IT-\u0441\u043E\u0445\u0438\u00BB \u0432 \u0431\u043B\u0430\u0433\u043E\u0440\u043E\u0434\u043D\u043E\u043C \u0434\u0435\u043B\u0435 \u0441\u043E\u0445\u0440\u0430\u043D\u0435\u043D\u0438\u044F \u0438 \u043F\u0440\u0438\u0443\u043C\u043D\u043E\u0436\u0435\u043D\u0438\u044F \u0441\u0438\u0441\u0430\u0434\u043C\u0438\u043D\u0441\u043A\u0438\u0445 \u043A\u0443\u043B\u044C\u0442\u0443\u0440\u043D\u044B\u0445 \u0446\u0435\u043D\u043D\u043E\u0441\u0442\u0435\u0439 \u0434\u043B\u044F \u043F\u043E\u0434\u0440\u0430\u0441\u0442\u0430\u044E\u0449\u0435\u0433\u043E \u043F\u043E\u043A\u043E\u043B\u0435\u043D\u0438\u044F, \u0447\u0435\u043C \u0443\u0441\u043F\u0435\u0448\u043D\u043E \u0438 \u0437\u0430\u043D\u0438\u043C\u0430\u0435\u0442\u0441\u044F \u0441 2008 \u0433\u043E\u0434\u0430 \u2014 \u043A\u0430\u0436\u0434\u044B\u0439 \u0434\u0435\u043D\u044C.'
    publisher             = 'Chattyfish Ltd.'
    category              = 'news, humor'
    cover_url = u'http://ithappens.me/assets/slowpoke/logo.png'
    language              = 'ru'
    no_stylesheets        = True
    remove_javascript = True
    auto_cleanup   = False


    oldest_article = 900
    max_articles_per_feed = 100

    feeds          = [
        ('IT happens', 'http://ithappens.me/rss'),
    ]

    remove_tags_before = dict(name='div', attrs={'class':'story'})
    remove_tags_after = dict(name='div', attrs={'class':'text'})
    remove_tags = [dict(name='div',attrs={'class':'tags'}),dict(name='div',attrs={'class':'id'})]
N+1
Code:
#!/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 AdvancedUserRecipe1467724863(BasicNewsRecipe):
    title          		  = 'N+1'
    __author__            = 'bugmen00t'
    description           = '\u041D\u0430\u0443\u0447\u043D\u043E-\u043F\u043E\u043F\u0443\u043B\u044F\u0440\u043D\u043E\u0435 \u0440\u0430\u0437\u0432\u043B\u0435\u043A\u0430\u0442\u0435\u043B\u044C\u043D\u043E\u0435 \u0438\u0437\u0434\u0430\u043D\u0438\u0435 \u043E \u0442\u043E\u043C, \u0447\u0442\u043E \u043F\u0440\u043E\u0438\u0441\u0445\u043E\u0434\u0438\u0442 \u0432 \u043D\u0430\u0443\u043A\u0435, \u0442\u0435\u0445\u043D\u0438\u043A\u0435 \u0438 \u0442\u0435\u0445\u043D\u043E\u043B\u043E\u0433\u0438\u044F\u0445 \u043F\u0440\u044F\u043C\u043E \u0441\u0435\u0439\u0447\u0430\u0441. \u041D\u043E\u0432\u043E\u0441\u0442\u0438, \u0431\u043E\u043B\u044C\u0448\u0438\u0435 \u0441\u0442\u0430\u0442\u044C\u0438, \u0431\u043B\u043E\u0433\u0438 - \u044D\u0442\u043E \u0432\u0441\u0435 \u043F\u0440\u043E \u043D\u0430\u0441. \u041C\u044B \u0438\u0449\u0435\u043C \u0441\u0430\u043C\u043E\u0435 \u0438\u043D\u0442\u0435\u0440\u0435\u0441\u043D\u043E\u0435 \u0438 \u0434\u043E\u0441\u0442\u0430\u0432\u043B\u044F\u0435\u043C \u044D\u0442\u043E \u0447\u0438\u0442\u0430\u0442\u0435\u043B\u044F\u043C \u0432 \u043F\u043E\u043D\u044F\u0442\u043D\u043E\u0439, \u044F\u0441\u043D\u043E\u0439, \u043F\u0440\u0438\u0432\u043B\u0435\u043A\u0430\u0442\u0435\u043B\u044C\u043D\u043E\u0439 (\u0438 \u0441 \u0432\u0438\u0437\u0443\u0430\u043B\u044C\u043D\u043E\u0439 \u0442\u043E\u0447\u043A\u0438 \u0437\u0440\u0435\u043D\u0438\u044F) \u0444\u043E\u0440\u043C\u0435. \u041C\u044B - \u0447\u0443\u0442\u044C \u0431\u043E\u043B\u044C\u0448\u0435, \u0447\u0435\u043C \u043F\u0440\u043E\u0441\u0442\u043E \u043D\u0430\u0443\u043A\u0430!'
    publisher             = 'N+1'
    category              = 'news'
    cover_url = u'https://nplus1.ru/i/logo.png'
    language              = 'ru'
    no_stylesheets        = False
    remove_javascript = True
    auto_cleanup   = False


    oldest_article = 200
    max_articles_per_feed = 100

    feeds          = [
        ('\u041d\u043e\u0432\u043e\u0441\u0442\u0438 \u043d\u0430\u0443\u043a\u0438', 'https://nplus1.ru/rss'),
    ]

    remove_tags_before = dict(name='article', attrs={'class':'content'})
    remove_tags_after = dict(name='div', attrs={'class':'body'})
МедиаЗона
Code:
#!/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 AdvancedUserRecipe1467719487(BasicNewsRecipe):
    title          = '\u041c\u0435\u0434\u0438\u0430\u0417\u043e\u043d\u0430'
    __author__            = 'bugmen00t'
    description           = '\u041E\u0431\u0449\u0435\u0441\u0442\u0432\u0435\u043D\u043D\u043E-\u043F\u043E\u043B\u0438\u0442\u0438\u0447\u0435\u0441\u043A\u043E\u0435 \u0438\u0437\u0434\u0430\u043D\u0438\u0435, \u0441\u0434\u0435\u043B\u0430\u0432\u0448\u0435\u0435 \u0430\u043A\u0446\u0435\u043D\u0442 \u043D\u0430 \u0444\u0443\u043D\u043A\u0446\u0438\u043E\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u0438 \u0437\u0430\u043A\u043E\u043D\u0430 \u0432 \u0420\u043E\u0441\u0441\u0438\u0438. \u041F\u043E \u043C\u043D\u0435\u043D\u0438\u044E \u0430\u0432\u0442\u043E\u0440\u0438\u0442\u0435\u0442\u043D\u044B\u0445 \u043C\u0435\u0434\u0438\u0430\u044D\u043A\u0441\u043F\u0435\u0440\u0442\u043E\u0432, \u043F\u043E \u0446\u0438\u0442\u0438\u0440\u0443\u0435\u043C\u043E\u0441\u0442\u0438 \u0438 \u043F\u043E\u0441\u0435\u0449\u0430\u0435\u043C\u043E\u0441\u0442\u0438 \u0444\u043E\u0440\u043C\u0430\u0442 \u00AB\u041C\u0435\u0434\u0438\u0430\u0437\u043E\u043D\u044B\u00BB \u043E\u043A\u0430\u0437\u0430\u043B\u0441\u044F \u0432\u0435\u0434\u0443\u0449\u0438\u043C \u0444\u043E\u0440\u043C\u0430\u0442\u043E\u043C \u043D\u043E\u0432\u043E\u0441\u0442\u043D\u043E\u0433\u043E \u0438\u0437\u0434\u0430\u043D\u0438\u044F \u0432 \u0420\u043E\u0441\u0441\u0438\u0438 2015 \u0433\u043E\u0434\u0430. \u00AB\u041C\u0435\u0434\u0438\u0430\u0437\u043E\u043D\u0430\u00BB \u043F\u0438\u0448\u0435\u0442 \u043E \u0440\u0435\u0430\u043B\u044C\u043D\u043E \u043F\u0440\u043E\u0438\u0441\u0445\u043E\u0434\u044F\u0449\u0435\u043C \u0432 \u0420\u043E\u0441\u0441\u0438\u0438, \u043F\u0435\u0440\u0432\u043E\u0439 \u0443\u043B\u0430\u0432\u043B\u0438\u0432\u0430\u044F \u0432\u0435\u043A\u0442\u043E\u0440\u044B \u0440\u0430\u0437\u0432\u0438\u0442\u0438\u044F \u043E\u0431\u0449\u0435\u0441\u0442\u0432\u0430.'
    publisher             = 'zona.media'
    category              = 'news'
    cover_url = u'https://zona.media//s/favicon/mstile-310x310.png'
    language              = 'ru'
    no_stylesheets        = False
    remove_javascript = True
    auto_cleanup   = False


    oldest_article = 200
    max_articles_per_feed = 100

    feeds          = [
        ('\u041d\u043e\u0432\u043e\u0441\u0442\u0438', 'https://zona.media/rss/news.php'),
    ]
    
    remove_tags_before = dict(name='header', attrs={'class':'mz-publish__title'})
    remove_tags_after  = dict(name='section', attrs={'class':'mz-publish__text'})
    remove_tags     = [dict(name='div',attrs={'class':'mz-publish-share__item'}),
    dict(name='section',attrs={'class':'mz-layout-content__col-main'})]

Last edited by bugmen00t; 07-05-2016 at 12:54 PM.
bugmen00t is offline   Reply With Quote
Advert
Old 08-04-2017, 12:27 PM   #2
bugmen00t
Member
bugmen00t knows the way to San Jose.bugmen00t knows the way to San Jose.bugmen00t knows the way to San Jose.bugmen00t knows the way to San Jose.bugmen00t knows the way to San Jose.bugmen00t knows the way to San Jose.bugmen00t knows the way to San Jose.bugmen00t knows the way to San Jose.bugmen00t knows the way to San Jose.bugmen00t knows the way to San Jose.bugmen00t knows the way to San Jose.
 
bugmen00t's Avatar
 
Posts: 12
Karma: 54046
Join Date: Aug 2015
Device: Amazon Kindle Keyboard 3G+WiFi + Amazon Kindle Voyage WiFi
The Insider

Code:
#!/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 AdjectiveSpecies(BasicNewsRecipe):
    title          = u'The Insider'
    cover_url = u'http://theins.ru/wp-content/uploads/2013/10/logo_insider.png'
    description           = '\u0420\u0430\u0441\u0441\u043B\u0435\u0434\u043E\u0432\u0430\u043D\u0438\u044F \u0420\u0435\u043F\u043E\u0440\u0442\u0430\u0436\u0438 \u0410\u043D\u0430\u043B\u0438\u0442\u0438\u043A\u0430'
    publisher             = 'theins.ru'
    category              = 'news'
    language              = 'ru'
    no_stylesheets        = True
    remove_javascript = True
    oldest_article = 300
    max_articles_per_feed = 100
#    auto_cleanup   = True

    remove_tags_before = dict(name='div', attrs={'id':'wrapper'})
    remove_tags_after  = dict(name='p', attrs={'style':' color: #999999;'})
    remove_tags     = [dict(name='div',attrs={'class':'post-share'}),
                        dict(name='div', attrs={'class':'post-share fixed-likes'}),
                         dict(name='div', attrs={'class':'topads'}),
                         dict(name='div', attrs={'class':'pre-content-line'}),
                         dict(name='div', attrs={'class':'author-opinions'}),
                         dict(name='div', attrs={'class':'content-banner'}),
                         dict(name='div', attrs={'id':'sidebar'})
                         ]
      

    feeds          = [
                          (u'\u041D\u043E\u0432\u043E\u0441\u0442\u0438', u'http://theins.ru/category/news/feed'),
                          (u'\u041F\u043E\u043B\u0438\u0442\u0438\u043A\u0430', u'http://theins.ru/category/politika/feed'),
                          (u'\u0410\u043D\u0442\u0438\u0444\u0435\u0439\u043A', u'http://theins.ru/category/antifake/feed'),
                          (u'\u041A\u043E\u0440\u0440\u0443\u043F\u0446\u0438\u044F', u'http://theins.ru/category/korrupciya/feed'),
                          (u'\u0418\u0441\u043F\u043E\u0432\u0435\u0434\u044C', u'http://theins.ru/category/confession/feed'),
                          (u'\u041E\u0431\u0449\u0435\u0441\u0442\u0432\u043E', u'http://theins.ru/category/obshestvo/feed'),
                          (u'\u0418\u0441\u0442\u043E\u0440\u0438\u044F', u'http://theins.ru/category/history/feed'),
                          (u'\u042D\u043A\u043E\u043D\u043E\u043C\u0438\u043A\u0430', u'http://theins.ru/category/ekonomika/feed'),
                          (u'\u041C\u043D\u0435\u043D\u0438\u044F', u'http://theins.ru/category/opinions/feed'),
                          (u'\u041F\u0435\u0440\u0435\u0432\u043E\u0434\u044B', u'http://theins.ru/category/perevody/feed'),
                          (u'\u041B\u043E\u043D\u0433\u0440\u0438\u0434', u'http://theins.ru/category/longread/feed')
                    ]
bugmen00t is offline   Reply With Quote
Old 08-05-2017, 10:46 AM   #3
bugmen00t
Member
bugmen00t knows the way to San Jose.bugmen00t knows the way to San Jose.bugmen00t knows the way to San Jose.bugmen00t knows the way to San Jose.bugmen00t knows the way to San Jose.bugmen00t knows the way to San Jose.bugmen00t knows the way to San Jose.bugmen00t knows the way to San Jose.bugmen00t knows the way to San Jose.bugmen00t knows the way to San Jose.bugmen00t knows the way to San Jose.
 
bugmen00t's Avatar
 
Posts: 12
Karma: 54046
Join Date: Aug 2015
Device: Amazon Kindle Keyboard 3G+WiFi + Amazon Kindle Voyage WiFi
Cool

IDPixel
Retro games & hardware news blog

Code:
#!/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 IdPixel(BasicNewsRecipe):
    title          = '\u0418\u0434\u0435\u0430\u043B\u044C\u043D\u044B\u0439 \u043F\u0438\u043A\u0441\u0435\u043B\u044C'
    cover_url = u'http://idpixel.ru/i/logo.png'
    description           = '\u041D\u043E\u0432\u043E\u0441\u0442\u043D\u043E\u0439 \u043F\u0440\u043E\u0435\u043A\u0442 \u043E \u0440\u0435\u0442\u0440\u043E-\u0438\u0433\u0440\u0430\u0445 \u0438 \u0440\u0435\u0442\u0440\u043E-\u0442\u0435\u0445\u043D\u0438\u043A\u0435. \u0412\u043E\u0441\u044C\u043C\u0438\u0431\u0438\u0442\u043D\u044B\u0435 \u0438\u0433\u0440\u044B, \u0448\u0435\u0441\u0442\u043D\u0430\u0434\u0446\u0430\u0442\u0438\u0431\u0438\u0442\u043D\u044B\u0435 \u043A\u043E\u043D\u0441\u043E\u043B\u0438, \u0434\u043E\u043C\u0430\u0448\u043D\u0438\u0435 \u043A\u043E\u043C\u043F\u044C\u044E\u0442\u0435\u0440\u044B \u0441 \u0438\u0433\u0440\u0430\u043C\u0438 \u043D\u0430 \u043A\u0430\u0441\u0441\u0435\u0442\u0430\u0445 \u0438 \u0442\u0430\u043A \u0434\u0430\u043B\u0435\u0435. \u041C\u044B \u0438\u0449\u0435\u043C \u0440\u0435\u0442\u0440\u043E-\u043D\u043E\u0432\u043E\u0441\u0442\u0438 \u043F\u043E \u0432\u0441\u0435\u043C\u0443 \u0441\u0432\u0435\u0442\u0443 \u0438 \u0434\u043E\u043D\u043E\u0441\u0438\u043C \u0438\u0445 \u0434\u043E \u0432\u0430\u0441.'
    publisher             = '\u041C\u0438\u0445\u0430\u0438\u043B \u0421\u0443\u0434\u0430\u043A\u043E\u0432'
    category              = 'news'
    language              = 'ru'
    no_stylesheets        = False
    remove_javascript = True
    oldest_article = 300
    max_articles_per_feed = 100

    remove_tags_before = dict(name='div', attrs={'class':'blog-post'})
    remove_tags_after  = dict(name='div', attrs={'style':'margin: 20px 0 0 2px;font-size: 16px;'})
    remove_tags     = [dict(name='div',attrs={'class':' likely__widget likely__widget_vkontakte'}),
                        dict(name='div', attrs={'class':' likely__widget likely__widget_twitter'}),
                         dict(name='div', attrs={'class':' likely__widget likely__widget_facebook'}),
                         dict(name='div', attrs={'class':' likely__widget likely__widget_telegram'}),
                         dict(name='div', attrs={'class':' likely__widget likely__widget_odnoklassniki'}),
                         dict(name='div', attrs={'class':'comments_input_disabled'}),
                         dict(name='div', attrs={'id':'comments'})
                         ]
      

    feeds          =      [(u'\u041D\u043E\u0432\u043E\u0441\u0442\u0438', u'http://idpixel.ru/rss/news.rss')]
bugmen00t is offline   Reply With Quote
Old 11-19-2017, 05:47 AM   #4
bugmen00t
Member
bugmen00t knows the way to San Jose.bugmen00t knows the way to San Jose.bugmen00t knows the way to San Jose.bugmen00t knows the way to San Jose.bugmen00t knows the way to San Jose.bugmen00t knows the way to San Jose.bugmen00t knows the way to San Jose.bugmen00t knows the way to San Jose.bugmen00t knows the way to San Jose.bugmen00t knows the way to San Jose.bugmen00t knows the way to San Jose.
 
bugmen00t's Avatar
 
Posts: 12
Karma: 54046
Join Date: Aug 2015
Device: Amazon Kindle Keyboard 3G+WiFi + Amazon Kindle Voyage WiFi
Thumbs up

Another bunch of Russian recipes

7x7 Journal
Code:
#!/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'})
        ]
Breaking Mad
Code:
#!/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 - это все, что вы должны знать о России и не только.'
    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'})
        ]
ОВД.Инфо
Code:
#!/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'})
        ]
bugmen00t is offline   Reply With Quote
Reply

Tags
recipe, russian

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Free (iTunes) Tasting Chef's Recipes: Summer 2012 Cookbook [Enhanced Recipes] ATDrake Deals, Freebies, and Resources (No Self-Promotion) 3 08-16-2012 12:15 AM
A bunch of recipes rjgrigaitis Recipes 0 07-12-2012 12:31 AM
HanLin Russian review in Russian TadW HanLin eBook 3 05-23-2006 04:32 AM


All times are GMT -4. The time now is 12:46 AM.


MobileRead.com is a privately owned, operated and funded community.