Fix images not working in Le Monde

This commit is contained in:
Kovid Goyal 2024-09-24 15:15:35 +05:30
parent e6ee7d15d3
commit 41c1efff19
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -126,11 +126,11 @@ class LeMonde(BasicNewsRecipe):
remove_tags = [
classes('article__status meta__reading-time meta__social multimedia-embed'),
dict(name=['footer', 'link', 'meta', 'svg', 'button']),
dict(name=['footer', 'link', 'meta', 'svg', 'button', 'source']),
dict(name='img', attrs={'class': ['article__author-picture']}),
dict(name='section', attrs={'class':
dict(name='section', attrs={'class':
[
'inread js-services-inread', 'catcher catcher--inline', 'inread inread--NL js-services-inread',
'inread js-services-inread', 'catcher catcher--inline', 'inread inread--NL js-services-inread',
'article__reactions', 'author', 'catcher', 'portfolio', 'services-inread'
]
})