diff --git a/recipes/glasgow_herald.recipe b/recipes/glasgow_herald.recipe index 387b57d0bf..ef9e3ded79 100644 --- a/recipes/glasgow_herald.recipe +++ b/recipes/glasgow_herald.recipe @@ -1,4 +1,3 @@ - from calibre.web.feeds.news import BasicNewsRecipe class GlasgowHerald(BasicNewsRecipe): @@ -9,12 +8,16 @@ class GlasgowHerald(BasicNewsRecipe): language = 'en_GB' __author__ = 'Kovid Goyal' + use_embedded_content = False - keep_only_tags = [dict(attrs={'class':'article'})] - remove_tags = [ - dict(id=['pic-nav']), - dict(attrs={'class':['comments-top']}) - ] + no_stylesheets = True + auto_cleanup = True + + #keep_only_tags = [dict(attrs={'class':'article'})] + #remove_tags = [ + #dict(id=['pic-nav']), + #dict(attrs={'class':['comments-top']}) + #] feeds = [ @@ -25,5 +28,4 @@ class GlasgowHerald(BasicNewsRecipe): (u'Arts & Entertainment', u'http://www.heraldscotland.com/cmlink/1.768',), (u'Columnists', u'http://www.heraldscotland.com/cmlink/1.658574')] - - +