From 33b0bc06018655f7f5d2fef67b67b93c07d16248 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Mon, 30 Apr 2012 19:26:51 +0530 Subject: [PATCH] El Mundo Today by atordo --- recipes/el_mundo_today.recipe | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 recipes/el_mundo_today.recipe diff --git a/recipes/el_mundo_today.recipe b/recipes/el_mundo_today.recipe new file mode 100644 index 0000000000..77a9f331a0 --- /dev/null +++ b/recipes/el_mundo_today.recipe @@ -0,0 +1,21 @@ +from calibre.web.feeds.news import BasicNewsRecipe + +class ElMundoTodayRecipe(BasicNewsRecipe): + title = 'El Mundo Today' + __author__ = 'atordo' + description = u'La actualidad del maƱana' + category = 'Noticias, humor' + cover_url = 'http://www.elmundotoday.com/wp-content/themes/EarthlyTouch/images/logo.png' + oldest_article = 30 + max_articles_per_feed = 30 + auto_cleanup = True + no_stylesheets = True + language = 'es' + use_embedded_content = True + + feeds = [('El Mundo Today', 'http://www.elmundotoday.com/feed/')] + + def get_broser(self): + br = BasicNewsRecipe.get_browser(self) + br.set_handle_gzip(True) + return br