Answer the question
In order to leave comments, you need to log in
Why does PhantomJS work past proxies?
Hello!
I created the 1st bat file:
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyEnable /t REG_DWORD /d 0x00000001 /f
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyOverride /t REG_SZ /d "<local>" /f
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyServer /t REG_SZ /d %КАКОЙ-ТО ПРОКСИ СЕРВЕР% /f
netsh winhttp import proxy source=ie
start bat2.bat
phantomjs 8.js
exit
Answer the question
In order to leave comments, you need to log in
This can be said with a quote from the documentation:
--proxy=address:port specifies the proxy server to use (eg --proxy=192.168.1.42:8080).
--proxy-type=[http|socks5|none] specifies the type of the proxy server (default is http).
--proxy-auth specifies the authentication information for the proxy, eg --proxy-auth=username:password).
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question