diff --git a/resources/recipes/cyberpresse.recipe b/resources/recipes/cyberpresse.recipe index 9e20c11502..25a46e3012 100644 --- a/resources/recipes/cyberpresse.recipe +++ b/resources/recipes/cyberpresse.recipe @@ -1,24 +1,56 @@ -import re from calibre.web.feeds.news import BasicNewsRecipe class Cyberpresse(BasicNewsRecipe): title = u'Cyberpresse' - __author__ = 'balok' + __author__ = 'balok and Sujata Raman' description = 'Canadian news in French' language = 'fr' oldest_article = 7 max_articles_per_feed = 100 no_stylesheets = True + remove_javascript = True html2lrf_options = ['--left-margin=0','--right-margin=0','--top-margin=0','--bottom-margin=0'] - - preprocess_regexps = [ - (re.compile(r'