/
grandes_corresponsales_es.recipe
40 lines (35 loc) · 1.75 KB
/
grandes_corresponsales_es.recipe
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# vim:fileencoding=utf-8
from __future__ import unicode_literals
from calibre.web.feeds.news import BasicNewsRecipe
class GrandesCorresponsalesRecipe (BasicNewsRecipe):
__author__ = 'Marc Busqué <marc@lamarciana.com>'
__url__ = 'http://www.lamarciana.com'
__version__ = '1.1.0'
__license__ = 'GPL v3'
__copyright__ = '2014, Marc Busqué <marc@lamarciana.com>'
title = u'Grandes corresponsales'
description = u'Corresponsales de verdad, de los que no se quedan en el hotel.'
language = 'es'
tags = 'información, internacional '
oldest_article = 30
remove_empty_feeds = True
no_stylesheets = True
def get_extra_css(self):
if not self.extra_css:
br = self.get_browser()
self.extra_css = br.open_novisit(
'https://raw.githubusercontent.com/laMarciana/gutenweb/master/dist/gutenweb.css').read().replace('@charset "UTF-8";', '')
return self.extra_css
feeds = [
(u'Rafael Poch', u'http://blogs.lavanguardia.com/berlin/feed'),
(u'Andy Robinson', u'http://blogs.lavanguardia.com/diario-itinerante/feed'),
(u'Eugenio García Gascón', u'http://blogs.publico.es/balagan/feed/'),
(u'Gervasio Sánchez', u'http://blogs.heraldo.es/gervasiosanchez/?feed=rss2'),
(u'Rafael Ramos', u'http://blogs.lavanguardia.com/londres/feed'),
(u'Olga Rodríguez', u'http://olgarodriguez.org/feed/'),
(u'Mikel Ayestaran', u'http://www.mikelayestaran.com/blog/?feed=rss2'),
(u'Hernán Zin', u'http://blogs.20minutos.es/enguerra/tag/corresponsales-guerra/feed/'),
(u'Ramón Lobo', u'http://www.ramonlobo.com/feed/'),
(u'Arturo Pérez-Reverte',
u'http://feeds.feedburner.com/ArtculosDeArturoPrez-reverte'),
]