diff --git a/recipes/wprost.recipe b/recipes/wprost.recipe index b271665125..2adac1e113 100644 --- a/recipes/wprost.recipe +++ b/recipes/wprost.recipe @@ -3,6 +3,8 @@ __license__ = 'GPL v3' __copyright__ = '2010, matek09, matek09@gmail.com' __copyright__ = 'Modified 2011, Mariusz Wolek ' +__copyright__ = 'Modified 2012, Artur Stachecki ' + from calibre.web.feeds.news import BasicNewsRecipe import re @@ -11,7 +13,7 @@ class Wprost(BasicNewsRecipe): EDITION = 0 FIND_LAST_FULL_ISSUE = True EXCLUDE_LOCKED = True - ICO_BLOCKED = 'http://www.wprost.pl/G/icons/ico_blocked.gif' + ICO_BLOCKED = 'http://www.wprost.pl/G/layout2/ico_blocked.png' title = u'Wprost' __author__ = 'matek09' @@ -20,6 +22,7 @@ class Wprost(BasicNewsRecipe): no_stylesheets = True language = 'pl' remove_javascript = True + recursions = 0 remove_tags_before = dict(dict(name = 'div', attrs = {'id' : 'print-layer'})) remove_tags_after = dict(dict(name = 'div', attrs = {'id' : 'print-layer'})) @@ -35,13 +38,15 @@ class Wprost(BasicNewsRecipe): (re.compile(r'\\\<\/table\>'), lambda match: ''), (re.compile(r'\'), lambda match: ''), (re.compile(r'\'), lambda match: ''), - (re.compile(r'\
'), lambda match: '')] + (re.compile(r'\'), lambda match: ''), + (re.compile(r'\