Hunwarrior
Senior Member
- May 12, 2010
- 1,035
- 876
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
Any question, just ask....
Last edited: