mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-06-23 15:30:45 -04:00
Update New Yorker
Remove the buttons below the images. They might be causing the Kobo renderer to barf.
This commit is contained in:
parent
7f9bcd4288
commit
6edce6fef3
@ -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']
|
||||
|
Loading…
x
Reference in New Issue
Block a user