Can IMacros scrape data from a webpage

Rhianni32

Junior Member
Joined
May 6, 2009
Messages
162
Reaction score
32
Question for any Imacros users....

I've played around and watched the tutorial videos which have been a great help. However I am not seeing a way to use the free firefox add-on to collect data off of a webpage.
That option appears to only be in the scripting edition which is $500. On the other hand it appears if you understand the coding language then perhaps you can just type it out yourself.

Has anyone been able to collect data with any of the free versions?
 
imacros supports the "SAVEAS" command to store something.
you can store it in various formats, as well as the !EXTRACT variable

both together should make it possible.
But maybe invest a few hours and learn php basics, it's better for scraping !
 
does imacros have the ability to extract info from a file on local computer.... and then save in a VAR1...
 
can imacros extract content from lets say a txt file and then save it in a VAR1 then post from imacros iim file...
 
Olm75: Yes it can. It pulls info from .csv spreadsheet files.

justone: Thanks for that info. Their wiki is really nice and extensive so i should be able to find the info i need from what you listed.
I might grab some books and tackle some PHP in the future.
 
ok i figured this out already but now i am stuck on some of these button scrapes, when i do it manually and then record but when i play the macro it says that button is not found...
 
Hi olm, there are multiple ways to specify how imacros should search a button/element.
So if the default does not work, try another !
You need to read their documentation well, there is no way around that.
 
lol wow thanks for the knowledge, i have read it all...
 
is the extracted data comin up blank or is it the actual button that is coming up "not found"
You can add this line to the top of your macro: SET !ERRORIGNORE YES and see if the macro will run properly...If that doesn't work you may have to post the code and site so we can try and help you better
 
what does this line mean... TAG POS=1 TYPE=INPUT:SUBMIT FORM=ID:tNT ATTR=ID:temp
 
It's the last button on that page before the continue button shows up...at least that's what I got when I went through the code...It submits the page to go on to the next page or it submits the page then waits on the continue button to show up.
 
nope doesnt work for me
is it better to switch the click mode in iMacros
 
yea just switch the click mode during recording and see if that works...If it doesn't you may have to add a wildcard somewhere
 
nope didnt work i dont think the position is relative to the screen because it changes
 
anyone geting an error in imacros with firefox...
RuntimeError: Unable to select entry specified by: __undefined__, line

VERSION BUILD=6240709 RECORDER=FX
TAB T=1
URL GOTO=http://www.aeonity.com/register.php
SET !DATASOURCE C:\Users\olm75\Desktop\varibles.txt
TAG POS=1 TYPE=SELECT FORM=ACTION:http://www.aeonity.com/register.php ATTR=NAME:month CONTENT={{month}}
TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:http://www.aeonity.com/register.php ATTR=NAME:day CONTENT={{date}}
TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:http://www.aeonity.com/register.php ATTR=NAME:year CONTENT={{year}}
PROMPT Please<SP>enter<SP>Captcha: !VAR1
TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:http://www.aeonity.com/register.php ATTR=NAME:tppCaptchaUserData CONTENT={{!VAR1}}
TAG POS=1 TYPE=INPUT:SUBMIT FORM=ACTION:http://www.aeonity.com/register.php ATTR=NAME:submit&&VALUE:Next<SP>Step
TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:http://www.aeonity.com/register.php ATTR=NAME:username CONTENT={{uname}}
SET !ENCRYPTION NO
TAG POS=1 TYPE=INPUT:PASSWORD FORM=ACTION:http://www.aeonity.com/register.php ATTR=NAME:pass1 CONTENT={{passw}}
SET !ENCRYPTION NO
TAG POS=1 TYPE=INPUT:PASSWORD FORM=ACTION:http://www.aeonity.com/register.php ATTR=NAME:pass2 CONTENT={{passw2}}
TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:http://www.aeonity.com/register.php ATTR=NAME:email CONTENT={{email}}
TAG POS=1 TYPE=INPUT:SUBMIT FORM=ACTION:http://www.aeonity.com/register.php ATTR=VALUE:Register
 
Back
Top