~ubuntu-branches/ubuntu/karmic/calibre/karmic

« back to all changes in this revision

Viewing changes to src/calibre/web/feeds/recipes/recipe_newsweek.py

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2009-02-04 09:40:09 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20090204094009-nlld4pn5u05fbwds
Tags: 0.4.133+dfsg-0ubuntu1
* New upstream release.
* Drop xkcd-popup-help.patch, adopted upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
 
20
20
    remove_tags = [
21
21
        dict(name=['script',  'noscript']),
22
 
        dict(name='div',  attrs={'class':['ad', 'SocialLinks', 'SocialLinksDiv', 'channel', 'bot', 'nav', 'top', 'EmailArticleBlock']}),
 
22
        dict(name='div',  attrs={'class':['ad', 'SocialLinks', 'SocialLinksDiv',
 
23
                                          'channel', 'bot', 'nav', 'top', 
 
24
                                          'EmailArticleBlock', 
 
25
                                          'comments-and-social-links-wrapper',
 
26
                                          'inline-social-links-wrapper',
 
27
                                          'inline-social-links',
 
28
                                          ]}),
23
29
        dict(name='div',  attrs={'class':re.compile('box')}),
24
 
        dict(id=['ToolBox', 'EmailMain', 'EmailArticle', ])
 
30
        dict(id=['ToolBox', 'EmailMain', 'EmailArticle', 'comment-box',
 
31
                 'nw-comments'])
25
32
    ]
26
33
    
27
34
    recursions = 1