Code:
import urllib2 import socks socks.setdefaultproxy(socks.PROXY_TYPE_SOCKS4, 'proxie', port) socks.wrapmodule(urllib2) yy = urllib2.urlopen('http://www.yahoo.com').read()
Please anyone write link, or some information...
import urllib2 import socks socks.setdefaultproxy(socks.PROXY_TYPE_SOCKS4, 'proxie', port) socks.wrapmodule(urllib2) yy = urllib2.urlopen('http://www.yahoo.com').read()
/// <summary> /// Returns a WebProxy object based on active ProxyInfo and if Proxy is enabled, returns default system proxy otherwise /// </summary> public static IWebProxy GetProxySettings() {