Change proxy and re vote

killaway

Newbie
Joined
Nov 28, 2013
Messages
16
Reaction score
0
Hi, basically im looking for some help... I currently use imacros to vote on a website. I have a big list of proxies and after each vote I have to copy a proxy and paste it into an imacros script and then vote again. Since its only one vote per ip.

So.. is there a way I can just put a list of 100 or so proxies into a script and it will just vote, change proxy and then vote again. Just so I don't have to manually keep copying and pasting proxies into imacros

Thanks
 
of course there's a way, just make a .csv file with the proxies: put the ip addresses into the 1st column and the port numbers into the 2nd column, one proxy in each line, modify the macro, then play it in loop

you can do that easily in Excel: copy-paste your proxies into the 1st column, select the column then head over to the DATA tab, hit "Text to columns", hit "Next', then you need to input the semicolon (:) as separating sign, which divides the ip from the port, hit "Next", hit "Finish' and voila, you have your ips separated from the ports in the first two columns
disclaimer: i'm using an Excel which isn't in English, so those options may have (slightly) different names, but i think you'll find them

now if your csv file is ready, aka you have the ips in the first column and the ports in the 2nd column, save the .csv
then add this to the beginning of your macro:
HTML:
SET !DATASOURCE C:\yourmacro.csv
SET !LOOP 1
SET !DATASOURCE_LINE {{!LOOP}}
PROXY ADDRESS={{!COL1}}:{{!COL2}}
change the datasource file path to the path of your .csv file accordingly

loop count=rows in your .csv file
1st loop=1st row
2nd loop=2nd row
...
if you have 100 or so proxies, you want to input 100 or so into the loop counter box and hit "Loop"
that's it
 
Hi! Thanks so much for the reply really appreciate it. However im not 100% sure how to do this lol I know virtually nothing about Imacros or scripts or anything like this. So once I press play (in imacros) it will just play though all the proxies I put in? and do I still record it like I would do normally? Thanks a lot and sorry if it seems im asking stupid questions lol
 
Hi! Thanks so much for the reply really appreciate it. However im not 100% sure how to do this lol I know virtually nothing about Imacros or scripts or anything like this. So once I press play (in imacros) it will just play though all the proxies I put in? and do I still record it like I would do normally? Thanks a lot and sorry if it seems im asking stupid questions lol

Just record the iMacros as usual, and then add these extra steps on top the iMacros script. Make sure you have the datasource file existing at the right location. And just try a test on http://canihazip.com or similar sites to check if its actually working.

Get in touch incase you cant figure it out.
 
Hi! Thanks so much for the reply really appreciate it. However im not 100% sure how to do this lol I know virtually nothing about Imacros or scripts or anything like this. So once I press play (in imacros) it will just play though all the proxies I put in? and do I still record it like I would do normally? Thanks a lot and sorry if it seems im asking stupid questions lol
i suppose you already have a macro, you don't need to record a new one, you can edit your existing one by adding the code at the beginning of it, above the URL GOTO command somewhere and yea, it will go through the proxies one by one if you prepare your .csv as i described above, but everything needs to be in its place or else it won't work, but you will know that, because imacros will give you an error and stop the macro, it's just in case if errorignore isn't set to yes

imacros has an online wiki with all the commands you need, it's really not that hard :)

on a side note: you can put the CLEAR command at the very end of the macro, it will clear the cookies and your browser cache, maybe it will come handy, if they track you that way as well, not just by ip
 
Last edited:
Thanks a lot for all the help. I will try this in about half an hour, just need to nip out and ill get back to you if it works or not. Thanks again
 
SET !DATASOURCE C:\yourmacro.csv
SET !LOOP 1
SET !DATASOURCE_LINE {{!LOOP}}
PROXY ADDRESS={{!COL1}}:{{!COL2}}
PROXY ADDRESS=41.184.178.16:8080
URL GOTO=website here
TAG POS=1 TYPE=A ATTR=TXT:Enter<SP>and<SP>vote


That is what it would look like, is that right?
 
Ok, so I tried to create the .csv and I have separated the port from the ip, but it wont let me save it. It says it contains features that are not compatible with text tab delimited

What should I do now?
 
Ok, so I tried to create the .csv and I have separated the port from the ip, but it wont let me save it. It says it contains features that are not compatible with text tab delimited

What should I do now?
Isnt there a continue anyway option?

Or get things to notepad and save as a csv. Put the datas in this format.

IP <tabspace> Port

Hit tab where tabspace is written and save it as .csv
 
there is but then it puts the port and ip together and I get an error message in imacros. I will try the notepad way now
 
SET !DATASOURCE C:\yourmacro.csv
SET !LOOP 1
SET !DATASOURCE_LINE {{!LOOP}}
PROXY ADDRESS={{!COL1}}:{{!COL2}}
PROXY ADDRESS=41.184.178.16:8080
URL GOTO=website here
TAG POS=1 TYPE=A ATTR=TXT:Enter<SP>and<SP>vote


That is what it would look like, is that right?
almost

you entered PROXY ADRRESS twice, it should look like this, if you want to loop through the proxies in your .csv:
HTML:
SET !DATASOURCE C:\yourmacro.csv
SET !LOOP 1
SET !DATASOURCE_LINE {{!LOOP}}
PROXY ADDRESS={{!COL1}}:{{!COL2}}
URL GOTO=website here
TAG POS=1 TYPE=A ATTR=TXT:Enter<SP>and<SP>vote
 
Yeah I noticed that lol sorted that out now but still having a problem saving the csv file :(
 
ah think I have sorted it, so if there is a bad proxy will it just move to the next one?

The loop just stops when there Is a bad proxy, is there a way around that?
 
Last edited:
there is but then it puts the port and ip together and I get an error message in imacros. I will try the notepad way now
fuark, sorry :)
on a second note, i remember that imacros doesn't really like the .csv files which are saved with Excel for some reason
try the recommended notepad++
search and replace:
search for: : (colon)
replace with: , (comma)
so it switches all the colons to commas, save the file and change the extension to .csv, the result basically will be a comma delimited .csv what imacros can handle with the ips in the first column and the ports in the second

this should work 100%

ah think I have sorted it, so if there is a bad proxy will it just move to the next one?

The loop just stops when there Is a bad proxy, is there a way around that?
add this line to the macro somewhere to the top:
HTML:
SET !ERRORIGNORE YES
so it will loop to the next one after some time even if there's a bad proxy, i think the default timeout is 60 sec, you can change that: http://wiki.imacros.net/!TIMEOUT_PAGE
 
Last edited:
fuark, sorry :)
on a second note, i remember that imacros doesn't really like the .csv files which are saved with Excel for some reason
try the recommended notepad++
search and replace:
search for: : (colon)
replace with: , (comma)
so it switches all the colons to commas, save the file and change the extension to .csv, the result basically will be a comma delimited .csv what imacros can handle with the ips in the first column and the ports in the second

this should work 100%

Well I got it to work somehow the only problem I have now is with a bad proxy, the whole loop just stops lol
 
ahhh sorry thank you. Ill give that ago now for a while see how it goes. Thanks so much
 
I dont recommend changing the timeout. That my miss some slow proxies just incase.

Just add
Code:
SET !ERRORIGNORE YES

And you are pretty much done. It will just carry on even if some error occurs. Bad proxy, the site doesnt load, the vote button not found, any such scenarios.

HoneyBiRD is doing good job helping you out. I feel like I am repeating things. Buy him a beer.
 
Thanks guys, really do appreciate it. Is there a limit on the loop? Could I do like 300?
 
Sorry to bother you again, im just wondering if I could put the loop over 100 to maybe around 300?
 
Back
Top