mardi 30 mars 2021

How can i get the contact e-mail from a webpage by a script [closed]

So for example, i have a weblist.txt

www.helenarohner.com
www.100porcienmexico.es
www.24fab.com
www.masllorensestudi.com
www.3i-ingenieria.com
www.360corporate.com
www.7camiciemadrid.es
www.centrodereuniones.com
www.ab-internacional.com
www.aba-abogadas.com

Like this one and i would like to get the contact mail from these websites, so i came to the idea of reading the html tags and take the href="mailto:test@test.com" where i can find this contact mail. Is there any command i can use for this? like curl o wget?

Edit: i found wget -r --no-parent URL can download all website files and then i could scan them, but i would like to know if i can do this process without downloading.

PD: Some of the example websites are down i know, pls dont close my post until i accept the answer or i feel like i get it. Thanks.




Aucun commentaire:

Enregistrer un commentaire