iMacros proxy list checker
This is a proxy checker for iMacros. There are two versions one works with firefox and the other works with internet explorer and the other with iMacros browser.
The proxy list checker works by setting the proxy of your browser and checking the IP address in whatismyip.com. It subsequently stores the IP along with the proxy it took it from into a dataset. If the proxy did not work instead of the value of the IP it is going to return the following code “#EANF#”.
The dataset containing the proxies needs to be stored in c:\macro\ and named proxylist.csv it needs to be of the format “proxy:port” for ie and iMacros browser and of the format “proxy”,”port” for firefox. Two sample lists one for each version of the browser are listed bellow, just copy paste the needed list into a text file and rename it to proxylist.csv (The sample lists were taken from AAproxy and are bellow the comments box). The results are stored in c:\macro\workingproxy.csv.
iMacros proxy list checker for internet explorer (ie) and iMacros browser
VERSION BUILD=6900210
SET !ERRORIGNORE YES
SET !EXTRACT_TEST_POPUP NO
'open the proxy file
SET !DATASOURCE c:\macro\proxylist.csv
SET !DATASOURCE_COLUMNS 1
SET !LOOP 1
SET !DATASOURCE_LINE {{!LOOP}}
'clear cookies and cache:
CLEAR
'set proxy to specified proxy
PROXY ADDRESS={{!col1}}
TAB T=1
TAB CLOSEALLOTHERS
'Go to whatismyip
URL GOTO=http://www.whatismyip.com/
'Obtain the ip of the proxy
TAG POS=1 TYPE=DIV ATTR=TXT:*&&ID:ip EXTRACT=TXT
'Add the proxy corresponding to the ip address
ADD !EXTRACT {{!col1}}
'Store proxies and wether they are working or not to to c:\macro\workingproxy.csv
SAVEAS TYPE=EXTRACT FOLDER=C:\macro FILE=workingproxy.csv
iMacros proxy list checker for firefox
VERSION BUILD=6240709 RECORDER=FX
TAB T=1
SET !ERRORIGNORE YES
SET !DATASOURCE c:\macro\macrolist.csv
SET !DATASOURCE_COLUMNS 2
'Increase the current position in the file with each loop
SET !DATASOURCE_LINE {{whichproxy}}
'clear cookies and cache:
CLEAR
URL GOTO=about:config
'some proxies are slow, set the timeout to 90 seconds:
URL GOTO=javascript:gPrefBranch.setIntPref("network.http.keep-alive.timeout",900);
URL GOTO=about:config
'set the proxy URL
URL GOTO=javascript:var<SP>prefb<SP>=<SP>Components.classes["@mozilla.org/preferences-service;1"].getService(Components.interfaces.nsIPrefBranch);var<SP>str<SP>=<SP>Components.classes["@mozilla.org/supports-string;1"].createInstance(Components.interfaces.nsISupportsString);str.data<SP>=<SP>"{{!COL1}}";prefb.setComplexValue("network.proxy.http",<SP>Components.interfaces.nsISupportsString,<SP>str);
URL GOTO=about:config
'set the proxy port:
URL GOTO=javascript:gPrefBranch.setIntPref("network.proxy.http_port",{{!COL2}});
URL GOTO=about:config
'turn the proxy on
URL GOTO=javascript:gPrefBranch.setIntPref("network.proxy.type",1)
TAB T=1
TAB CLOSEALLOTHERS
'Go to whatismyip
URL GOTO=http://www.whatismyip.com/
'Obtain the ip of the proxy
TAG POS=1 TYPE=DIV ATTR=TXT:*&&ID:ip EXTRACT=TXT
'Add the proxy corresponding to the ip address
ADD !EXTRACT {{!col1}}
'Store proxies and wether they are working or not to to c:\macro\workingproxy.csv
SAVEAS TYPE=EXTRACT FOLDER=C:\macro FILE=workingproxy.csv
Comments
Thumbs up from me
Interesting. Good job.
Just thought to let you know everyone know that if you replace the http to socks in firefox this can also work with socks5 proxies
I have a list of Proxy IP Address but don't have port number. I need to get port number inorder to use proxy from imacros
anybody know the answer?
Thanks
You need a port number to have any use use of the proxies. But are you sure you don't have the port number? Sometimes proxies are provided in the form
1.1.1.1:80
The port is 80 since its after :
proxylist.csv for internet explorer (ie) and iMacros browser
"71.255.122.2:9090" "174.142.104.57:3128" "174.142.24.201:3128" "189.200.240.68:80" "205.213.195.70:8080" "174.142.24.206:3128" "174.142.24.205:3128" "174.142.24.203:3128" "174.142.24.202:3128" "88.208.210.252:80" "72.0.44.213:8080" "79.174.195.81:80" "88.202.124.121:8080" "61.19.252.148:8088" "174.142.24.204:3128" "210.212.123.10:8080" "188.165.192.152:80" "200.76.250.12:3128" "68.188.44.210:80" "50.22.23.66:3128" "178.22.187.28:80" "200.76.250.44:3128" "124.41.68.207:80" "200.251.200.1:8080" "208.75.148.4:80" "95.143.115.166:3128" "47.230.0.43:80" "200.37.204.93:3128" "67.205.67.45:80" "70.168.6.56:8080" "79.172.35.74:83" "74.208.43.87:808" "113.160.24.114:3128" "122.252.243.100:8080" "210.107.100.251:8080" "41.190.16.17:8080" "72.159.131.3:554" "213.248.47.87:8888" "47.230.0.43:8080" "50.16.205.113:80" "200.76.250.44:80" "178.79.143.150:80" "204.236.195.67:8118" "195.162.130.20:8080" "193.179.153.225:8080" "212.85.146.236:80" "200.251.58.190:8080" "194.87.154.3:8080" "78.46.67.91:80" "81.94.26.126:3128" "93.157.124.13:80" "202.222.19.58:80" "201.45.84.15:80" "198.179.137.54:8080" "114.36.178.5:8088" "110.137.128.153:80" "188.120.245.122:8080" "184.106.93.45:80" "88.208.210.253:80" "184.106.78.197:80" "63.215.195.85:80" "77.37.167.154:8090" "95.154.230.33:3128" "194.87.154.103:8080"
proxylist.csv for iMacros for firefox
"71.255.122.2",9090" "174.142.104.57",3128" "174.142.24.201",3128" "189.200.240.68",80" "205.213.195.70",8080" "174.142.24.206",3128" "174.142.24.205",3128" "174.142.24.203",3128" "174.142.24.202",3128" "88.208.210.252",80" "72.0.44.213",8080" "79.174.195.81",80" "88.202.124.121",8080" "61.19.252.148",8088" "174.142.24.204",3128" "210.212.123.10",8080" "188.165.192.152",80" "200.76.250.12",3128" "68.188.44.210",80" "50.22.23.66",3128" "178.22.187.28",80" "200.76.250.44",3128" "124.41.68.207",80" "200.251.200.1",8080" "208.75.148.4",80" "95.143.115.166",3128" "47.230.0.43",80" "200.37.204.93",3128" "67.205.67.45",80" "70.168.6.56",8080" "79.172.35.74",83" "74.208.43.87",808" "113.160.24.114",3128" "122.252.243.100",8080" "210.107.100.251",8080" "41.190.16.17",8080" "72.159.131.3",554" "213.248.47.87",8888" "47.230.0.43",8080" "50.16.205.113",80" "200.76.250.44",80" "178.79.143.150",80" "204.236.195.67",8118" "195.162.130.20",8080" "193.179.153.225",8080" "212.85.146.236",80" "200.251.58.190",8080" "194.87.154.3",8080" "78.46.67.91",80" "81.94.26.126",3128" "93.157.124.13",80" "202.222.19.58",80" "201.45.84.15",80" "198.179.137.54",8080" "114.36.178.5",8088" "110.137.128.153",80" "188.120.245.122",8080" "184.106.93.45",80" "88.208.210.253",80" "184.106.78.197",80" "63.215.195.85",80" "77.37.167.154",8090" "95.154.230.33",3128" "194.87.154.103",8080"
Ladonna Privatsky 15 months ago
Great hub