mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-09-29 15:31:08 -04:00
32 lines
1.1 KiB
Plaintext
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'),
|
|
]
|