Click here to Skip to main content
15,894,907 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
How to create a email extraction bot?
Extract emails from any website, extract emails if we input websites url and the bot should extract the emails related those websites.

What I have tried:

I tried with some tutorials online.But not working.
Posted
Updated 13-Dec-20 2:06am

1 solution

If you mean user's email addresses, you can't.
And any site that you could do that to would be in court for GDPR breaches which would almost certainly close the site down. Email addresses are counted as sensitive personal information and must (by local and global law) be protected and secured.

If you mean public email addresses such as "contact us" information that the site publishes about itself and / or it's employees, then you could try using the HTMLAgilityPack, but you'd have to "tailor" it to each site pretty much individually - there is no "standard" for where or how to keep them.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900