Update New Yorker

Remove the buttons below the images. They might be causing the Kobo
renderer to barf.
This commit is contained in:
Kovid Goyal 2022-11-27 08:45:53 +05:30
parent 7f9bcd4288
commit 6edce6fef3
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -34,9 +34,9 @@ class NewYorker(BasicNewsRecipe):
timefmt = ' [%b %d]'
encoding = 'utf-8'
extra_css = '''
.byline { font-size:xx-small; font-weight: bold;}
.byline { font-size:smaller; font-weight: bold;}
h3 { margin-bottom: 6px; }
.caption { font-size: xx-small; font-style: italic; font-weight: normal; }
.caption { font-size: smaller; font-style: italic; font-weight: normal; }
'''
keep_only_tags = [
@ -56,7 +56,7 @@ class NewYorker(BasicNewsRecipe):
classes(
'social-icons'
),
prefixed_classes('ConsentBannerWrapper-'),
prefixed_classes('ConsentBannerWrapper- ResponsiveCartoonCTA-'),
dict(childtypes='iframe'),
]
remove_attributes = ['style']