From 546d1f6c79b6f53cdc318020735ee8ab3ccab11a Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Mon, 11 Dec 2017 08:35:30 +0530 Subject: [PATCH] El Cohete a la luna by Darko Miletic Fixes #1737422 [New recipe for newsportal - el cohete a la luna](https://bugs.launchpad.net/calibre/+bug/1737422) --- recipes/elcohetealaluna.recipe | 37 ++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 recipes/elcohetealaluna.recipe diff --git a/recipes/elcohetealaluna.recipe b/recipes/elcohetealaluna.recipe new file mode 100644 index 0000000000..7fd0306948 --- /dev/null +++ b/recipes/elcohetealaluna.recipe @@ -0,0 +1,37 @@ +# -*- mode: python -*- +# -*- coding: utf-8 -*- + +__license__ = 'GPL v3' +__copyright__ = '2017, Darko Miletic ' +''' +www.elcohetealaluna.com +''' + +from calibre.web.feeds.news import BasicNewsRecipe + + +class elcohetealaluna(BasicNewsRecipe): + title = 'El Cohete a la Luna' + __author__ = 'Darko Miletic' + description = 'El nuevo portal de Horacio Verbitsky' + publisher = 'Horacio Verbitsky' + category = 'news, politics, Argentina' + oldest_article = 7 + no_stylesheets = True + encoding = 'utf8' + use_embedded_content = False + language = 'es_AR' + remove_empty_feeds = True + publication_type = 'newsportal' + auto_cleanup = True + resolve_internal_links = True + extra_css = """ + body{font-family: serif} + img{margin-top:1em; margin-bottom: 1em; display:block} + """ + + conversion_options = { + 'comment': description, 'tags': category, 'publisher': publisher, 'language': language + } + + feeds = [(u'Articulos', u'https://www.elcohetealaluna.com/feed/')]