Giter Site home page Giter Site logo

Comments (1)

GoogleCodeExporter avatar GoogleCodeExporter commented on August 19, 2024
刚才找到原因了,难以想象的urllib实现:

The urlopen() function works transparently with proxies which do not require
authentication. In a Unix or Windows
environment, set the http_proxy, ftp_proxy or gopher_proxy environment 
variables to a
URL that identifies the proxy server
before starting the Python interpreter. For example (the "%" is the command 
prompt):

% http_proxy="http://www.someproxy.com:3128"
% export http_proxy
% python
...

In a Windows environment, if no proxy environment variables are set, proxy 
settings
are obtained from the registry's
Internet Settings section.

简单说,windows下urllib默认会把IE设定的proxy作为自己的proxy,而��
�写的proxy程序中恰恰用
urllib做传输

这样,proxy肯定死循环了.

用urlopen得不到数据是因为它去找代理了,而设置的代理没有运
行,且在本地,怪不得我抓包根本
抓不到向外发的包...

Original comment by [email protected] on 16 Jun 2008 at 4:10

  • Changed state: fixed

from gappproxy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.