mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
El Cronista by Darko Miletic
Fixes #1774869 [New recipe for El Cronista](https://bugs.launchpad.net/calibre/+bug/1774869)
This commit is contained in:
parent
d91585c7dc
commit
7834ef238b
40
recipes/elcronista-arg.recipe
Normal file
40
recipes/elcronista-arg.recipe
Normal file
@ -0,0 +1,40 @@
|
||||
# -*- mode: python -*-
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
__license__ = 'GPL v3'
|
||||
__copyright__ = '2018, Darko Miletic <darko.miletic at gmail.com>'
|
||||
'''
|
||||
www.cronista.com
|
||||
'''
|
||||
from calibre.web.feeds.news import BasicNewsRecipe
|
||||
|
||||
|
||||
class ElCronistaArg(BasicNewsRecipe):
|
||||
title = 'El Cronista'
|
||||
__author__ = 'Darko Miletic'
|
||||
description = (
|
||||
'El Cronista Comercial es el Diario economico-politico mas valorado.'
|
||||
' Es la fuente mas confiable de informacion en temas de economia, finanzas y negocios.')
|
||||
publisher = 'El Cronista'
|
||||
category = 'news, politics, Argentina'
|
||||
oldest_article = 2
|
||||
no_stylesheets = True
|
||||
encoding = 'utf8'
|
||||
use_embedded_content = False
|
||||
language = 'es_AR'
|
||||
remove_empty_feeds = True
|
||||
publication_type = 'newsportal'
|
||||
auto_cleanup = True
|
||||
auto_cleanup_keep = '//div[@class="header-bottom"] | //h1 | //h2'
|
||||
ignore_duplicate_articles = {'url'}
|
||||
masthead_url = 'https://www.cronista.com/export/sites/diarioelcronista/arte/v2/lg_cronista_footer.png_665574830.png'
|
||||
extra_css = """
|
||||
body{font-family: 'Source Sans Pro', sans-serif}
|
||||
h1,h2,h3,h4{font-family: 'Libre Baskerville', serif}
|
||||
"""
|
||||
|
||||
conversion_options = {
|
||||
'comment': description, 'tags': category, 'publisher': publisher, 'language': language
|
||||
}
|
||||
|
||||
feeds = [(u'Articulos', u'https://www.cronista.com/rss/feed.xml')]
|
BIN
recipes/icons/elcronista-arg.png
Normal file
BIN
recipes/icons/elcronista-arg.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 482 B |
Loading…
x
Reference in New Issue
Block a user