TCPWatchã使ã£ã¦ããªã¯ã¨ã¹ãã®ä¸èº«ã確èªããªãããã¹ã
http://hathawaymix.org/Software/TCPWatch
ã³ãã³ãã©ã¤ã³ããTCPWatchãèµ·åããã
c:>tcpwatch.py -p 127.0.0.1:3128
TCPWatchãset_proxyãã¦ãªã¯ã¨ã¹ããé£ã°ã
>>>import urllib2 >>>req = urllib2.Request("http://www.google.co.jp") >>>req.set_proxy("127.0.0.1:3128", "http") >>>req.add_header("User-agent", "python") >>>req.add_header("Pragma", "no-cache") >>>site = urllib2.urlopen(req)