![]() |
#1 |
Member
![]() Posts: 13
Karma: 10
Join Date: Feb 2017
Device: Sony PRS-T3
|
Recipe for Zita.be
#!/usr/bin/env python2
from calibre.web.feeds.news import BasicNewsRecipe class Zitabe(BasicNewsRecipe): title = u'Zita.be' __author__ = u'erkfuizfeuadjfjzefzfuzeff' description = u'Lifestyle News from Belgium in Dutch' oldest_article = 7 language = 'nl_BE' max_articles_per_feed = 100 no_stylesheets = True use_embedded_content = False keep_only_tags = [ dict(name='title'), dict(name='article', attrs={'class': 'article-main'}) ] remove_tags = [dict(name='div', attrs={'class': 'box-50 box-omega sidebar-webtips'}), dict(name='blockquote', attrs={'class': 'instagram-media'}), ] feeds = [ (u'Auto', u'http://www.zita.be/xml/auto.xml'), (u'Business', u'http://www.zita.be/xml/business.xml'), (u'Entertainment', u'http://www.zita.be/xml/entertainment.xml'), (u'Fun', u'http://www.zita.be/xml/fun.xml'), (u'Lifestyle', u'http://www.zita.be/xml/lifestyle.xml'), (u'Nieuws', u'http://www.zita.be/xml/nieuws.xml'), (u'Nieuws binneland', u'http://www.zita.be/xml/nieuws-binnenland.xml'), (u'Bizar', u'http://www.zita.be/xml/nieuws-bizar.xml'), (u'Nieuws Buitenland', u'http://www.zita.be/xml/nieuws-buitenland.xml'), (u'Nieuws Economie', u'http://www.zita.be/xml/nieuws-economie.xml'), (u'Sport', u'http://www.zita.be/xml/nieuws-sport.xml') ] |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Recipe for Het Laatste Nieuws (Belgian newspaper) based on built in recipe of Darko M | erkfuizfeuadjfjz | Recipes | 0 | 02-17-2017 03:11 PM |
Recipe voor De Tijd (Belgian newspaper) based on built in recipe of Darko Miletic | erkfuizfeuadjfjz | Recipes | 0 | 02-17-2017 02:43 PM |
ft recipe financial_times_us.recipe | piet8stevens | Recipes | 3 | 03-05-2016 03:55 AM |
Recipe works when mocked up as Python file, fails when converted to Recipe | ode | Recipes | 7 | 09-04-2011 04:57 AM |
New Recipe | UtahJames | Recipes | 2 | 04-18-2011 06:32 PM |