diff --git a/recipes/acrimed.recipe b/recipes/acrimed.recipe new file mode 100644 index 0000000000..acd98a063a --- /dev/null +++ b/recipes/acrimed.recipe @@ -0,0 +1,30 @@ +# vim:fileencoding=utf-8 +from __future__ import unicode_literals + +__license__ = 'GPL v3' +__copyright__ = '2012' +''' +acrimed.org +''' + +import re +from calibre.web.feeds.news import BasicNewsRecipe + +class Acrimed(BasicNewsRecipe): + title = u'Acrimed' + __author__ = 'Gaƫtan Lehmann' + oldest_article = 30 + max_articles_per_feed = 100 + auto_cleanup = True + auto_cleanup_keep = '//div[@class="crayon article-chapo-4112 chapo"]' + language = 'fr' + masthead_url = 'http://www.acrimed.org/IMG/siteon0.gif' + feeds = [(u'Acrimed', u'http://www.acrimed.org/spip.php?page=backend')] + + preprocess_regexps = [ + (re.compile(r'