[get code] mass tinyurl creation iMacro

Hunwarrior

Senior Member
Joined
May 12, 2010
Messages
1,036
Reaction score
875
Code:
SET !DATASOURCE shorten-this-urls.csv
SET !DATASOURCE_COLUMNS 1
SET !LOOP 1
SET !DATASOURCE_LINE {{!LOOP}} 
SET !TIMEOUT 9
SET !EXTRACT_TEST_POPUP NO
TAB T=1

' modify next line to : http://www.tinyurl(dot)com
URL GOTO=http://************************/
TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:f ATTR=NAME:url CONTENT={{!COL1}}
TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME:f ATTR=NAME:submit&&VALUE:Make<SP>TinyURL!
' modify next line to : http://www.tinyurl(dot)com/*   <- yes, REALLY /* !
TAG POS=1 TYPE=B ATTR=TXT:http://************************/* EXTRACT=TXT
SAVEAS TYPE=EXTRACT FOLDER=* FILE=tinyurls.csv

I is very simple 1 min coding, but thought some ppl will find it useful.
I have a bad day, so karma might help me out. ;)

It will shorten the links from the /datasources/shorten-this-urls.csv ( you need to make it, 1 URL/line), and will save the created tinyurls to /downloads/tinyurls.csv
You need to play as many loops as URLs you have in the horten-this-urls.csv.

ps: holy cow :D i van not post URL even in the code :D so i put some interpreter line into the code.
Any question, just ask....
 
Last edited:

dandan

Regular Member
Joined
Jan 7, 2009
Messages
269
Reaction score
64
only seems to be saving the following to the output file

"#EANF#"
"#EANF#"
"#EANF#"
"#EANF#"
 

Hunwarrior

Senior Member
Joined
May 12, 2010
Messages
1,036
Reaction score
875
have you modified the code according to the instructions?
 
Top