[CONTRIBUTION] Scrape Emails from Multiple Websites

Here is a script I’ve coded that may be helpful for you guys.

This script looks for e-mails in the HTML of a given website.

If it doesn’t find anything, it clicks on the first <a> tag element with “contact” in its HREF and looks for an e-mail on this new page.

You can add multiple websites using a .CSV file.

Source code + tutorial: https://github.com/dpw1/KantuScripts/tree/master/Email%20Scraper
Video: https://youtu.be/zRVk_mGJMfY

Let me know if you have any suggestions to improve it!

2 Likes

Nice job Diego!

Any idea how can make to the scraper skip the sites which is unavailable(offline or a link in invalid)?