Merge branch 'FixNewYorkerRecipe' of https://github.com/jmateus/calibre

This commit is contained in:
Kovid Goyal 2017-12-26 17:31:45 +05:30
commit 1906e976cd
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -57,6 +57,7 @@ class NewYorker(BasicNewsRecipe):
classes('content-ad-wrapper social-hover background-image'), classes('content-ad-wrapper social-hover background-image'),
dict(id=['newsletter-signup']), dict(id=['newsletter-signup']),
dict(attrs={'class': lambda x: x and 'ImageEmbed__button___' in x}), dict(attrs={'class': lambda x: x and 'ImageEmbed__button___' in x}),
dict(attrs={'class': lambda x: x and 'ArticleLedeImage__button___' in x}),
dict(name='links source'.split()), ] dict(name='links source'.split()), ]
remove_attributes = ['style'] remove_attributes = ['style']