From 1fda8e97eeca2b75ebe1fb27f681257644bccb49 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sat, 7 Jul 2012 22:02:01 +0530 Subject: [PATCH] Empire Magazine by Dave Asbury --- recipes/empire_magazine.recipe | 51 ++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 recipes/empire_magazine.recipe diff --git a/recipes/empire_magazine.recipe b/recipes/empire_magazine.recipe new file mode 100644 index 0000000000..138b7bffd1 --- /dev/null +++ b/recipes/empire_magazine.recipe @@ -0,0 +1,51 @@ +import re +from calibre.web.feeds.news import BasicNewsRecipe + +class AdvancedUserRecipe1341650280(BasicNewsRecipe): + + title = u'Empire Magazine' + description = 'Author D.Asbury. Film articles from Empire Mag. ' + __author__ = 'Dave Asbury' + # last updated 7/7/12 + remove_empty_feeds = True + remove_javascript = True + no_stylesheets = True + #oldest_article = 7 + max_articles_per_feed = 20 + cover_url = 'http://www.empireonline.com/images/magazine/cover.jpg' + conversion_options = { + 'linearize_tables' : True, + } + #auto_cleanup = True + preprocess_regexps = [ + (re.compile(r'