#!/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')
]
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')
]