mirror of
https://github.com/JimmXinu/FanFicFare.git
synced 2025-12-25 10:14:56 +01:00
Exclude iframe tags in forums stories.
This commit is contained in:
parent
0246ecafcf
commit
d2535ef12b
1 changed files with 3 additions and 0 deletions
|
|
@ -163,4 +163,7 @@ class ForumsSpacebattlesComAdapter(BaseSiteAdapter):
|
|||
|
||||
bq.name='div'
|
||||
|
||||
for iframe in bq.find_all('iframe'):
|
||||
iframe.extract() # calibre book reader & editor don't like iframes to youtube.
|
||||
|
||||
return self.utf8FromSoup(url,bq)
|
||||
|
|
|
|||
Loading…
Reference in a new issue