diff --git a/loconotion/modules/notionparser.py b/loconotion/modules/notionparser.py index 2d6a65381..4fccf6518 100644 --- a/loconotion/modules/notionparser.py +++ b/loconotion/modules/notionparser.py @@ -380,6 +380,8 @@ def clean_up(self, soup): # 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"}):