mirror of
https://github.com/leoncvlt/loconotion.git
synced 2024-08-30 18:12:12 +00:00
Merge pull request #127 from kevindaffaarr/master
Strip aif production iframe
This commit is contained in:
commit
58a118c615
@ -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