Paul Philippov

Why JavaScript email obfuscation does not work

#!/usr/bin/env python

from requests_html import HTMLSession
import re

session = HTMLSession()
resp = session.get(put_your_url_here)
resp.html.render()
email = re.findall(r'[\w\.-]+@[\w\.-]+', resp.html.html)
print(email)

Here’s a page with different obfuscation techniques. Feel free to use it for scrapping.

Published on March 10, 2021 (about 4 years ago)

Article tags: security

Paul Philippov / themactep@gmail.com / home is where ~ is

π Except where otherwise noted, content on this site is licensed under a Creative Commons Attribution 4.0 International License.