|
|
@ -419,6 +419,7 @@ def cleanHTML(driver, html): |
|
|
|
|
|
|
|
# remove JavaScript |
|
|
|
clean_html = re.sub(r"<script[\s\S]*?script>", "", clean_html) |
|
|
|
clean_html = re.sub(r"<iframe[\s\S]*?iframe>", "", clean_html) |
|
|
|
clean_html = re.sub(r"<object.*javascript[\s\S]*?object>", "", clean_html) |
|
|
|
clean_html = re.sub(r"<aplet.*mayscript[\s\S]*?aplet>", "", clean_html) |
|
|
|
clean_html = re.sub(r"<embed.*scriptable[\s\S]*?embed>", "", clean_html) |
|
|
|