mirror of
https://github.com/leoncvlt/loconotion.git
synced 2024-08-30 18:12:12 +00:00
Update the intercom html tag pointer
The intercom tag is an iframe, not a div.
This commit is contained in:
parent
d0b4dbf76d
commit
bcf2a02b28
@ -341,7 +341,7 @@ class Parser:
|
|||||||
# remove scripts and other tags we don't want / need
|
# remove scripts and other tags we don't want / need
|
||||||
for unwanted in soup.findAll("script"):
|
for unwanted in soup.findAll("script"):
|
||||||
unwanted.decompose()
|
unwanted.decompose()
|
||||||
for intercom_frame in soup.findAll("div", {"id": "intercom-frame"}):
|
for intercom_frame in soup.findAll("iframe", {"id": "intercom-frame"}):
|
||||||
intercom_frame.decompose()
|
intercom_frame.decompose()
|
||||||
for intercom_div in soup.findAll("div", {"class": "intercom-lightweight-app"}):
|
for intercom_div in soup.findAll("div", {"class": "intercom-lightweight-app"}):
|
||||||
intercom_div.decompose()
|
intercom_div.decompose()
|
||||||
|
Loading…
Reference in New Issue
Block a user