Find email on webpage

Discussions and Tech Support related to the iMacros Firefox Add-on, including the built-in Javascript scripting interface for playing .js files.

Moderators: Community Moderators, iMacros Moderators

Forum rules
Before asking a question or reporting an issue:
1. Please review the list of FAQ's.
2. Use the Google search box (at the top of each forum page) to see if a similar problem or question has already been addressed. This will search the entire contents of the forums as well as the iMacros Wiki.
3. We can respond much faster to your posts if you include the following information:

CLICK HERE FOR IMPORTANT INFORMATION TO INCLUDE IN YOUR POST

Answering your own posts (e.g. attempting to "bump" your topic) drops your topic from the list of unanswered threads, so it may actually receive less views.

Find email on webpage

by techimac on Mon Aug 22, 2016 7:16 am

I need to find email on a webpage.
I am using this code
TAG POS=1 TYPE=A ATTR=href:mailto* EXTRACT=HREF

drawback of this code is that its gets email if its a hyperlink
but email can be text as well

twiiter also have @ so that has to checked as well

Firefox 47.0
iMacros VERSION BUILD=8970419
Windows 8.1
techimac
 
Posts: 189
Joined: Fri Feb 20, 2015 2:27 pm

Re: Find email on webpage

by chivracq on Mon Aug 22, 2016 1:22 pm

techimac wrote:I need to find email on a webpage.
I am using this code
TAG POS=1 TYPE=A ATTR=href:mailto* EXTRACT=HREF

drawback of this code is that its gets email if its a hyperlink
but email can be text as well

twiiter also have @ so that has to checked as well

Firefox 47.0
iMacros VERSION BUILD=8970419
Windows 8.1

We had a similar Thread a few months ago where I posted a few times...
You have many "E-mail Extractor" Sites on Internet where you can paste some amount of "Text" (could be your 'EXTRACT=HTM' from iMacros) and it will extract/list all E-mail Addresses found in it, quite accurate...
- (F)CIM = (Full) Config Info Missing: iMacros + Browser + OS with all 3 Versions...
- I usually don't even read the Question if that (required) Info is not mentioned...
- Script & URL usually help a lot for a more "educated" Help...
chivracq
 
Posts: 6490
Joined: Sat Apr 13, 2013 6:07 am
Location: Amsterdam (NL)

Re: Find email on webpage

by techimac on Mon Aug 22, 2016 1:29 pm

Thanks a lot.
techimac
 
Posts: 189
Joined: Fri Feb 20, 2015 2:27 pm

Re: Find email on webpage

by chivracq on Mon Aug 22, 2016 1:35 pm

techimac wrote:Thanks a lot.

Yep, you're welcome, post your "final Solution", that can be useful for other Users as well, the Qt comes back regularly...
- (F)CIM = (Full) Config Info Missing: iMacros + Browser + OS with all 3 Versions...
- I usually don't even read the Question if that (required) Info is not mentioned...
- Script & URL usually help a lot for a more "educated" Help...
chivracq
 
Posts: 6490
Joined: Sat Apr 13, 2013 6:07 am
Location: Amsterdam (NL)

Re: Find email on webpage

by techimac on Mon Aug 22, 2016 1:41 pm

without much research and very little efforts, I found these
since they solve my purpose, won't be doing more research for better options.

http://eel.surf7.net.my/
http://www.lite14.us/
techimac
 
Posts: 189
Joined: Fri Feb 20, 2015 2:27 pm

Re: Find email on webpage

by techimac on Mon Aug 22, 2016 1:45 pm

I will be using iMacros from excel
so I will use split function to seperate emails using comma as seperator.
techimac
 
Posts: 189
Joined: Fri Feb 20, 2015 2:27 pm

Re: Find email on webpage

by techimac on Mon Aug 22, 2016 3:08 pm

TAB T=1
TAG POS=1 TYPE=BODY ATTR=TXT:* EXTRACT=HTM
TAB OPEN
TAB T=2
URL GOTO=http://eel.surf7.net.my/
TAG POS=1 TYPE=TEXTAREA FORM=NAME:extractor ATTR=NAME:input CONTENT={{!EXTRACT}}
TAG POS=1 TYPE=INPUT:BUTTON FORM=NAME:extractor ATTR=*

I am not able to extract output.
techimac
 
Posts: 189
Joined: Fri Feb 20, 2015 2:27 pm

Re: Find email on webpage

by techimac on Mon Aug 22, 2016 3:10 pm

TAG POS=1 TYPE=TEXTAREA ATTR=NAME:output extract=txt

so final code is

TAG POS=1 TYPE=BODY ATTR=TXT:* EXTRACT=HTM
TAB OPEN
TAB T=2
URL GOTO=http://eel.surf7.net.my/
TAG POS=1 TYPE=TEXTAREA FORM=NAME:extractor ATTR=NAME:input CONTENT={{!EXTRACT}}
TAG POS=1 TYPE=INPUT:BUTTON FORM=NAME:extractor ATTR=*
TAG POS=1 TYPE=TEXTAREA ATTR=NAME:output extract=txt
techimac
 
Posts: 189
Joined: Fri Feb 20, 2015 2:27 pm

Re: Find email on webpage

by techimac on Tue Aug 23, 2016 8:57 am

This is even better as I came across a website which doesn't display email in web page source but was there on the page


TAG POS=1 TYPE=HTML ATTR=TXT:*

EVENT TYPE=KEYPRESS SELECTOR="HTML" CHAR="a" MODIFIERS="ctrl"
EVENT TYPE=KEYPRESS SELECTOR="HTML" CHAR="c" MODIFIERS="ctrl"

TAB OPEN
TAB T=2
URL GOTO=http://www.lite14.us/
'URL GOTO=http://eel.surf7.net.my/
TAG POS=1 TYPE=TEXTAREA FORM=NAME:extractor ATTR=NAME:rawdata CONTENT={{!CLIPBOARD}}
PAUSE
TAG POS=1 TYPE=INPUT:BUTTON FORM=NAME:extractor ATTR=*
TAG POS=1 TYPE=TEXTAREA FORM=NAME:extractor ATTR=NAME:rawdata EXTRACT=TXT
TAB CLOSE
techimac
 
Posts: 189
Joined: Fri Feb 20, 2015 2:27 pm

Re: Find email on webpage

by Vlad42 on Tue Oct 11, 2016 2:14 am

to solve this problem I use this soft - https://www.atompark.com/web-email-extractor/.
Vlad42
 
Posts: 1
Joined: Tue Oct 11, 2016 1:59 am

Re: Find email on webpage

by chivracq on Tue Oct 11, 2016 4:26 am

Vlad42 wrote:to solve this problem with this problem I've use this soft - https://www.atompark.com/web-email-extractor/.

Yeah..., but hum..., you should mention that it's a Commercial Software (Atomic Email Hunter ( € 84 / € 69.85 ))... (+ a "Free Trial" without any further Info...)

And, re-hum-hum..., I'm always a bit suspicious when I see Claims like "... it will harvest and collect thousands of relevant addresses ... within seconds." (and that one could be true maybe..., even if I'm still suspicious about the "within seconds"...), but this one "Extract from Facebook: Email extractor can easily handle hundreds of thousands emails extracted from different Facebook pages..." sounds a bit exaggerated to me...! :shock:
- (F)CIM = (Full) Config Info Missing: iMacros + Browser + OS with all 3 Versions...
- I usually don't even read the Question if that (required) Info is not mentioned...
- Script & URL usually help a lot for a more "educated" Help...
chivracq
 
Posts: 6490
Joined: Sat Apr 13, 2013 6:07 am
Location: Amsterdam (NL)


Return to iMacros for Firefox

Who is online

Users browsing this forum: No registered users and 12 guests

-->