calibre/recipes/grandes_corresponsales_es.recipe
Kovid Goyal 567040ee1e Perform PEP8 compliance checks on the entire codebase
Some bits of PEP 8 are turned off via setup.cfg
2016-07-29 21:25:17 +05:30

40 lines
1.7 KiB
Plaintext

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