Join urls from CSV

Discussions and Tech Support specific to the iMacros Firefox add-on.
Forum rules
Before asking a question or reporting an issue:
1. Please review the list of FAQ's.
2. Use the search box (at the top of each forum page) to see if a similar problem or question has already been addressed.
3. Try searching the iMacros Wiki - it contains the complete iMacros reference as well as plenty of samples and tutorials.
4. We can respond much faster to your posts if you include the following information: CLICK HERE FOR IMPORTANT INFORMATION TO INCLUDE IN YOUR POST
Post Reply
gomer
Posts: 1
Joined: Sat Dec 04, 2010 10:49 am

Join urls from CSV

Post by gomer » Sat Dec 04, 2010 10:53 am

Hello guys,

below the code:

TAB T=1

SET !DATASOURCE urls.csv
SET !DATASOURCE_COLUMNS 1
SET !DATASOURCE_LINE {{!LOOP}}
URL GOTO={{!COL1}}
WAIT SECONDS=5

I am trying to join the urls from the CSV which the urls are seperated by commas (http://www.google.com, http://www.mobilesigns.nl, http://www.iopus.com, etc).
But it is not working, the loop stops after the first url. I have looked for examples, and they are not working.

Maybe i've missed something. I hope someone can help me.

Greets
jbwocky
Posts: 24
Joined: Fri Aug 28, 2009 7:36 am

Re: Join urls from CSV

Post by jbwocky » Sat Dec 04, 2010 1:39 pm

Hi,

The problem you're having is that all your data is on the first line of the datasource. You're telling the script to go to "DATASOURCE_LINE" Loop, but there is only 1 line, and that is why the loop stops.
What you need to do is save each URL on a different line, and then it'll work.
Post Reply