1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

iMacros and Proxy Rotation

Discussion in 'General Scripting Chat' started by TaAaZZ28, Jun 25, 2016.

  1. TaAaZZ28

    TaAaZZ28 Jr. VIP Jr. VIP

    Aug 31, 2014
    Likes Received:
    So I need to implement proxy rotation to my iMacros script. My script is about 1.5 hours long and I wish to change proxy each time I play the script.
    I could just load up lot of proxies to a csv file and loop but there is a problem. During the 1.5 hours, I need very stable proxies and I need around 200 IPs per month. Buying 200 dedicated proxies is too expensive for me and even if I buy them, I need each IP only once so most of them would be waste after 1 use.
    I thought that using the Proxy rotating services from proxymesh or something like that would be perfect for me but most services change proxy IP every 10 minutes or offer API to change manually by custom headers.
    Since I am using Firefox, I dont know how I should change custom headers everytime I need to change the IP. Is there a script that could solve my problem? Or anyone who can help me? Thanks
  2. HoNeYBiRD

    HoNeYBiRD Jr. VIP Jr. VIP

    May 1, 2009
    Likes Received:
    Geographer, Tourism Manager
    If you're thinking in public proxies, those won't be good, stable and fast enough for your purpose. The cheapest solution would be shared private proxies, which cost roughly half what dedis cost or if you can get a special deal with one of the backconnect/rotating proxy providers, so you can just loop the macro.

    There's a Firefox addon called Proxy Tool developed by BHW member, that one has proxy rotating capabilities besides plenty of other features. When you open a new tab/window you can set the tool to rotate the proxy. I'm not sure if it's good enough for you, but it's an option. With iMacros, it can be done easily, so practically you don't have to worry about time frames, because it's you who set it by opening a new tab/window. Then again, you'll still need proxies what you can use with it. So you might as well just play the macro in loop with different proxies per each run, instead of using this addon. :)
    • Thanks Thanks x 1
  3. cloaking

    cloaking Registered Member

    Aug 21, 2015
    Likes Received:
    You can use this add-on to alter the request headers: https://addons.mozilla.org/en-US/firefox/addon/modify-headers/

    It would be much easier if you were using a script with iimRunner to initiate FireFox. You could then get the same script to specify a new proxy for FireFox before each run.