mirror of
https://github.com/leoncvlt/loconotion.git
synced 2024-08-30 18:12:12 +00:00
Merge pull request #66 from douglasjarquin/patch-1
Update the intercom html tag pointer
This commit is contained in:
commit
acb1f9b9a4
@ -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