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