Page 1 of 1

urlcurrent help

Posted: Thu Feb 25, 2016 3:11 am
by PatrickP1976
Hello
I am running iMacros 8 on Windows 8 in the iMacros browser.
I am trying to capture in a csv file all of the full url addresses I am visiting.
I have played with this program in the past but it seems like it has been years and I never did something like this, so my attempt below could be way off.

Thanks in advance!

VERSION BUILD=8021970
TAB T=1
TAB CLOSEALLOTHERS
URL GOTO=https://www.meritorpartsonline.com/weba ... reId=10154
TAG POS=1 TYPE=A FORM=ID:displayForm ATTR=ID:WC_CategoriesSidebarDisplayf_links_2_1
set !extractadd{{!urlcurrent}}
TAG POS=1 TYPE=A FORM=ID:displayForm ATTR=ID:WC_CategoriesSidebarDisplayf_links_2_1
set !extractadd{{!urlcurrent}}
TAG POS=4 TYPE=IMG ATTR=SRC:https://www.meritorpartsonline.com/wcss ... re/images/*
set !extractadd{{!urlcurrent}}
TAG POS=4 TYPE=IMG ATTR=SRC:https://www.meritorpartsonline.com/wcss ... re/images/*
set !extractadd{{!urlcurrent}}
TAG POS=4 TYPE=IMG ATTR=SRC:https://www.meritorpartsonline.com/wcss ... re/images/*
set !extractadd{{!urlcurrent}}
TAG POS=4 TYPE=IMG ATTR=SRC:https://www.meritorpartsonline.com/wcss ... re/images/*
set !extractadd{{!urlcurrent}}
saveas type=extract folder=c:\ftd\url.csv

Re: urlcurrent help

Posted: Thu Feb 25, 2016 4:28 pm
by IrishMacro
set !extractadd is old
See this http://wiki.imacros.net/!EXTRACTADD

Re: urlcurrent help

Posted: Thu Feb 25, 2016 8:13 pm
by chivracq
PatrickP1976 wrote:Hello
I am running iMacros 8 on Windows 8 in the iMacros browser.
I am trying to capture in a csv file all of the full url addresses I am visiting.
I have played with this program in the past but it seems like it has been years and I never did something like this, so my attempt below could be way off.

Thanks in advance!

Code: Select all

VERSION BUILD=8021970
TAB T=1
TAB CLOSEALLOTHERS
URL GOTO=https://www.meritorpartsonline.com/webapp/wcs/stores/servlet/CategoryDisplay?urlRequestType=Base&catalogId=10051&categoryId=10001&pageView=detailed&urlLangId=-1&beginIndex=0&langId=-1&top_category=10001&top=Y&parent_category_rn=10001&storeId=10154
TAG POS=1 TYPE=A FORM=ID:displayForm ATTR=ID:WC_CategoriesSidebarDisplayf_links_2_1
set !extractadd{{!urlcurrent}}
TAG POS=1 TYPE=A FORM=ID:displayForm ATTR=ID:WC_CategoriesSidebarDisplayf_links_2_1
set !extractadd{{!urlcurrent}}
TAG POS=4 TYPE=IMG ATTR=SRC:https://www.meritorpartsonline.com/wcsstore/MeritorStorefrontAssetStore/images/*
set !extractadd{{!urlcurrent}}
TAG POS=4 TYPE=IMG ATTR=SRC:https://www.meritorpartsonline.com/wcsstore/MeritorStorefrontAssetStore/images/*
set !extractadd{{!urlcurrent}}
TAG POS=4 TYPE=IMG ATTR=SRC:https://www.meritorpartsonline.com/wcsstore/MeritorStorefrontAssetStore/images/*
set !extractadd{{!urlcurrent}}
TAG POS=4 TYPE=IMG ATTR=SRC:https://www.meritorpartsonline.com/wcsstore/MeritorStorefrontAssetStore/images/*
set !extractadd{{!urlcurrent}}
	saveas type=extract folder=c:\ftd\url.csv
IrishMacro wrote:set !extractadd is old
See this http://wiki.imacros.net/!EXTRACTADD
Yep, correct, but it still works I think...

More problematic would be the missing Space for all those Statements, I would think...