mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 10:14:46 -04:00
Delete berria.recipe
This commit is contained in:
parent
20e88f1f8e
commit
1b20a25051
@ -1,44 +0,0 @@
|
|||||||
__license__ = 'GPL v3'
|
|
||||||
__copyright__ = '2012, Alayn Gortazar <zutoin at gmail dot com>'
|
|
||||||
'''
|
|
||||||
www.berria.info
|
|
||||||
'''
|
|
||||||
|
|
||||||
from calibre.web.feeds.news import BasicNewsRecipe
|
|
||||||
|
|
||||||
|
|
||||||
class Berria(BasicNewsRecipe):
|
|
||||||
title = 'Berria'
|
|
||||||
__author__ = 'Alayn Gortazar'
|
|
||||||
description = 'Euskal Herriko euskarazko egunkaria'
|
|
||||||
publisher = 'Berria'
|
|
||||||
category = 'news, politics, sports, Basque Country'
|
|
||||||
oldest_article = 2
|
|
||||||
max_articles_per_feed = 100
|
|
||||||
no_stylesheets = True
|
|
||||||
use_embedded_content = False
|
|
||||||
language = 'eu'
|
|
||||||
remove_empty_feeds = True
|
|
||||||
masthead_url = 'http://upload.wikimedia.org/wikipedia/commons/thumb/6/6a/Berria_Logo.svg/400px-Berria_Logo.svg.png'
|
|
||||||
|
|
||||||
keep_only_tags = [
|
|
||||||
dict(id='goiburua'),
|
|
||||||
dict(name='div', attrs={'class': ['ber_ikus']}),
|
|
||||||
dict(name='section', attrs={'class': 'ber_ikus'})
|
|
||||||
]
|
|
||||||
remove_tags = [
|
|
||||||
dict(name='a', attrs={'class': 'iruzkinak'}),
|
|
||||||
dict(name='div', attrs={'class': 'laguntzaileak'})
|
|
||||||
]
|
|
||||||
|
|
||||||
extra_css = '#goiburua{font-weight: bold} .zintiloa{font-size: small} .sarrera{color:#666} .titularra{font-size: x-large} .sarrera{font-weight: bold} .argazoin{color:#666; font-size: small}' # noqa
|
|
||||||
|
|
||||||
feeds = [
|
|
||||||
(u'Edizioa jarraia', u'http://berria.info/rss/ediziojarraia.xml'),
|
|
||||||
(u'Iritzia', u'http://berria.info/rss/iritzia.xml'),
|
|
||||||
(u'Euskal Herria', u'http://berria.info/rss/euskalherria.xml'),
|
|
||||||
(u'Ekonomia', u'http://berria.info/rss/ekonomia.xml'),
|
|
||||||
(u'Mundua', u'http://berria.info/rss/mundua.xml'),
|
|
||||||
(u'Kirola', u'http://berria.info/rss/kirola.xml'),
|
|
||||||
(u'Plaza', u'http://berria.info/rss/plaza.xml')
|
|
||||||
]
|
|
Loading…
x
Reference in New Issue
Block a user