mirror of
https://github.com/leoncvlt/loconotion.git
synced 2024-08-30 18:12:12 +00:00
Strip aif production iframe
This commit is contained in:
parent
759697ade3
commit
05bc92c3d5
@ -380,6 +380,8 @@ class Parser:
|
||||
# remove scripts and other tags we don't want / need
|
||||
for unwanted in soup.findAll("script"):
|
||||
unwanted.decompose()
|
||||
for aif_production in soup.findAll("iframe", {"src": "https://aif.notion.so/aif-production.html"}):
|
||||
aif_production.decompose()
|
||||
for intercom_frame in soup.findAll("iframe", {"id": "intercom-frame"}):
|
||||
intercom_frame.decompose()
|
||||
for intercom_div in soup.findAll("div", {"class": "intercom-lightweight-app"}):
|
||||
|
Loading…
Reference in New Issue
Block a user