mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Update ap.recipe
This commit is contained in:
parent
0f52676e4f
commit
bbd416dc7b
@ -67,7 +67,7 @@ class AssociatedPress(BasicNewsRecipe):
|
||||
for v in soup.findAll('bsp-jw-player', attrs={'poster': True}):
|
||||
v.name = 'img'
|
||||
v.attrs = {'src': v.get('poster', '')}
|
||||
for st in soup.findAll(**classes('CarouselSlide-infoDescription')):
|
||||
for st in soup.findAll(**classes('CarouselSlide-infoDescription Figure-caption')):
|
||||
if p := st.find('p'):
|
||||
p.name = 'span'
|
||||
for h in soup.findAll(['h2', 'h3']):
|
||||
|
Loading…
x
Reference in New Issue
Block a user