mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-09-29 15:31:08 -04:00
47 lines
1.6 KiB
Plaintext
47 lines
1.6 KiB
Plaintext
__license__ = 'GPL v3'
|
|
__copyright__ = '2013 - 2016, Darko Miletic <darko.miletic at gmail.com>'
|
|
'''
|
|
http://www.eltribuno.info/salta/edicion_impresa.aspx
|
|
'''
|
|
|
|
from calibre.web.feeds.news import BasicNewsRecipe
|
|
|
|
|
|
class ElTribunoSaltaImpreso(BasicNewsRecipe):
|
|
title = 'El Tribuno Salta'
|
|
__author__ = 'Darko Miletic'
|
|
description = "Diario principal de Salta"
|
|
publisher = 'Horizontes S.A.'
|
|
category = 'news, politics, Salta, Argentina, World'
|
|
oldest_article = 2
|
|
language = 'es_AR'
|
|
max_articles_per_feed = 250
|
|
no_stylesheets = True
|
|
use_embedded_content = False
|
|
encoding = 'utf8'
|
|
publication_type = 'newspaper'
|
|
remove_javascript = True
|
|
auto_cleanup = True
|
|
|
|
conversion_options = {
|
|
'comment' : description
|
|
, 'tags' : category
|
|
, 'publisher': publisher
|
|
, 'language' : language
|
|
}
|
|
|
|
extra_css = """
|
|
body{font-family: Arial,Helvetica,sans-serif}
|
|
img{margin-top: 0.8em; display: block}
|
|
"""
|
|
|
|
feeds = [
|
|
(u'Mas leidas', u'http://www.eltribuno.info/rss/salta/masleidas.xml')
|
|
,(u'El Tribuno', u'http://www.eltribuno.info/rss/salta/home.xml')
|
|
,(u'Salta' , u'http://www.eltribuno.info/rss/salta/salta.xml')
|
|
,(u'Deportes' , u'http://www.eltribuno.info/rss/salta/deportes.xml')
|
|
]
|
|
|
|
def get_masthead_title(self):
|
|
return 'El Tribuno'
|