mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Zita.be by erkfuizfeuadjfjzefzfuzeff
This commit is contained in:
parent
54f312496a
commit
78766dff92
36
recipes/zita_be.recipe
Normal file
36
recipes/zita_be.recipe
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
#!/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')]
|
Loading…
x
Reference in New Issue
Block a user