diff --git a/resources/images/news/discover_magazine.png b/resources/images/news/discover_magazine.png new file mode 100644 index 0000000000..b63cf518d1 Binary files /dev/null and b/resources/images/news/discover_magazine.png differ diff --git a/resources/recipes/ap.recipe b/resources/recipes/ap.recipe index 0118cf0726..2b9f9e5571 100644 --- a/resources/recipes/ap.recipe +++ b/resources/recipes/ap.recipe @@ -6,31 +6,38 @@ class AssociatedPress(BasicNewsRecipe): title = u'Associated Press' description = 'Global news' - __author__ = 'Kovid Goyal' + __author__ = 'Kovid Goyal and Sujata Raman' use_embedded_content = False language = 'en' - + no_stylesheets = True max_articles_per_feed = 15 html2lrf_options = ['--force-page-break-before-tag="chapter"'] preprocess_regexps = [ (re.compile(i[0], re.IGNORECASE | re.DOTALL), i[1]) for i in [ - (r'
.*?' , lambda match : ''), - (r'.*?', lambda match : ''), - (r'.*?', lambda match : ''), - (r'', lambda match : '
'), - (r'
', lambda match : '
'), - (r'Learn more about our Privacy Policy.*?', lambda match : '