diff --git a/recipes/red_voltaire.recipe b/recipes/red_voltaire.recipe new file mode 100644 index 0000000000..1763125a8e --- /dev/null +++ b/recipes/red_voltaire.recipe @@ -0,0 +1,32 @@ +import re +from calibre.web.feeds.news import BasicNewsRecipe + +class RedVoltaireRecipe(BasicNewsRecipe): + title = u'Red Voltaire' + __author__ = 'atordo' + description = u'Red de prensa no alineada, especializada en el an\u00e1lisis de las relaciones internacionales' + oldest_article = 7 + max_articles_per_feed = 30 + auto_cleanup = False + no_stylesheets = True + language = 'es' + use_embedded_content = False + remove_javascript = True + cover_url = u'http://www.voltairenet.org/squelettes/elements/images/logo-voltairenet-org.png' + masthead_url = u'http://www.voltairenet.org/squelettes/elements/images/logo-voltairenet-org.png' + + preprocess_regexps = [ + (re.compile(r'(?P<titulo>.+).+

'+match.group('titulo')+'

. (?P.+).+', re.IGNORECASE|re.DOTALL) + ,lambda match:''+match.group('fecha')+'') + ,(re.compile(r'