calibre/recipes/historias_del_mundo_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

32 lines
1.1 KiB
Plaintext

# vim:fileencoding=utf-8
from __future__ import unicode_literals
from calibre.web.feeds.news import BasicNewsRecipe
class HistoriasDelMundo (BasicNewsRecipe):
__author__ = 'Marc Busqué <marc@lamarciana.com>'
__url__ = 'http://www.lamarciana.com'
__version__ = '1.0.1'
__license__ = 'GPL v3'
__copyright__ = '2012, Marc Busqué <marc@lamarciana.com>'
title = u'Historias del Mundo'
description = u'Historias del Mundo contadas por Marc Busqué'
url = 'http://www.marcbusque.org'
language = 'es'
tags = 'viajes, social'
oldest_article = 120
remove_empty_feeds = True
no_stylesheets = True
cover_url = u'http://www.marcbusque.org/wp-content/uploads/2011/12/cuchitril.png'
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'Historias del Mundo', u'http://www.marcbusque.org/?feed=rss'),
]