mirror of
https://github.com/wassname/FanFicFare.git
synced 2026-09-12 12:02:50 +08:00
Exclude iframe tags in forums stories.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user