Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #33595

Using cntlm as proxy

Path csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <jaorozco@estudiantes.uci.cu>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status UNSURE 0.255
X-Spam-Level **
X-Spam-Evidence '*H*': 0.53; '*S*': 0.04; 'urllib2': 0.07; 'scripts': 0.09; 'python': 0.09; 'subject:proxy': 0.16; 'parse': 0.22; 'example': 0.23; "i've": 0.23; 'tried': 0.25; 'header:User- Agent:1': 0.26; 'appreciated.': 0.26; 'received:10.0.0': 0.28; "i'm": 0.29; 'code': 0.31; 'web,': 0.33; 'everyone.': 0.33; 'received:10.0': 0.33; 'to:addr:python-list': 0.33; 'really': 0.36; 'but': 0.36; 'header:Received:9': 0.36; 'data': 0.37; 'some': 0.38; 'received:10': 0.38; 'to:addr:python.org': 0.39; 'help': 0.40; 'think': 0.40; 'back': 0.62; 'received:unknown': 0.63; 'results': 0.65; 'url:facebook': 0.67; 'received:200': 0.71; 'futuro,': 0.84; 'locally': 0.84; 'manages': 0.84; 'subject:Using': 0.84; 'universidad': 0.84; 'url:photos': 0.84; 'url:cu': 0.91
X-Virus-Scanned amavisd-new at uci.cu
Date Mon, 19 Nov 2012 21:30:12 -0500
From jorge2 <jaorozco@estudiantes.uci.cu>
User-Agent Mozilla/5.0 (X11; Linux i686; rv:16.0) Gecko/20121010 Thunderbird/16.0.1
MIME-Version 1.0
To python-list@python.org
Subject Using cntlm as proxy
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
X-Mailman-Approved-At Tue, 20 Nov 2012 09:58:54 +0100
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.38.1353401936.29569.python-list@python.org> (permalink)
Lines 14
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1353401936 news.xs4all.nl 6882 [2001:888:2000:d::a6]:52115
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:33595

Show key headers only | View raw


Hi everyone. I'm using cntlm locally and I want my Python scripts to 
connect to some web, parse some data and come back with results all 
across my local proxy.
I've tried a lot of example code but I still don't find what I need. I 
think I don't understand how urllib2 manages proxy.

Help will be really appreciated.

10mo. ANIVERSARIO DE LA CREACION DE LA UNIVERSIDAD DE LAS CIENCIAS INFORMATICAS...
CONECTADOS AL FUTURO, CONECTADOS A LA REVOLUCION

http://www.uci.cu
http://www.facebook.com/universidad.uci
http://www.flickr.com/photos/universidad_uci

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Using cntlm as proxy jorge2 <jaorozco@estudiantes.uci.cu> - 2012-11-19 21:30 -0500

csiph-web