diff --git a/recipes/cosmopolitan_uk.recipe b/recipes/cosmopolitan_uk.recipe index ae23be224d..078718f6f7 100644 --- a/recipes/cosmopolitan_uk.recipe +++ b/recipes/cosmopolitan_uk.recipe @@ -15,6 +15,7 @@ class AdvancedUserRecipe1306097511(BasicNewsRecipe): max_articles_per_feed = 20 remove_empty_feeds = True remove_javascript = True + ignore_duplicate_articles = {'title'} preprocess_regexps = [ (re.compile(r'.*?', re.IGNORECASE | re.DOTALL), lambda match: '')] diff --git a/recipes/pvp_online.recipe b/recipes/pvp_online.recipe new file mode 100644 index 0000000000..5b6c466062 --- /dev/null +++ b/recipes/pvp_online.recipe @@ -0,0 +1,18 @@ +from calibre.web.feeds.news import BasicNewsRecipe + +class AdvancedUserRecipe1344926684(BasicNewsRecipe): + title = u'PVP online' + __author__ = 'Krittika Goyal' + oldest_article = 7 + max_articles_per_feed = 100 + #auto_cleanup = True + no_stylesheets = True + use_embedded_content = False + language = 'en' + remove_javascript = True + + keep_only_tags = [dict(name='div', attrs={'class':'body'})] + remove_tags = [dict(name='div', attrs={'class':'prevBg'}),dict(name='div', attrs={'class':'nextBg'}),dict(name='div', attrs={'class':'postMeta'})] + + feeds = [(u'Comics', u'http://pvponline.com/feed'), ] +