Merge branch 'recipe_periodismo_humano_es' of https://github.com/waiting-for-dev/calibre

This commit is contained in:
Kovid Goyal 2014-04-15 23:37:37 +05:30
commit 2e7eba6c49

View File

@ -0,0 +1,26 @@
# vim:fileencoding=utf-8
from __future__ import unicode_literals
from calibre.web.feeds.news import BasicNewsRecipe
import urllib
class PeriodismoHumanoRecipe (BasicNewsRecipe):
__author__ = 'Marc Busqué <marc@lamarciana.com>'
__url__ = 'http://www.lamarciana.com'
__version__ = '1.0.0'
__license__ = 'GPL v3'
__copyright__ = '2014, Marc Busqué <marc@lamarciana.com>'
title = u'Periodismo Humano'
description = u'periodismohumano es un nuevo medio de comunicación con enfoque de derechos humanos y sin ánimo de lucro, dirigido por Javier Bauluz y con un equipo de redacción profesional, con corresponsales, colaboradores y analistas en diferentes partes del mundo.'
oldest_articles = 7
max_articles_per_feed = 100
language = u'es'
tags = u'información, contrainformación, información alternativa'
remove_empty_feeds = True
extra_css = urllib.urlopen('https://raw.githubusercontent.com/laMarciana/gutenweb/master/dist/gutenweb.css').read().replace('@charset "UTF-8";', '')
feeds = [
(u'Periodismo Humano', u'http://periodismohumano.com/feed'),
]
def get_cover_url(self):
return u'http://periodismohumano.com/files/2010/01/logoconslogan-300x211.jpg'