Top "Urllib2" questions

urllib2 is a builtin python 2 module that defines functions and classes to help with URL actions.

Changing user agent on urllib2.urlopen

How can I download a webpage with a user agent other than the default one on urllib2.urlopen?

python urllib2 user-agent
python: urllib2 how to send cookie with urlopen request

I am trying to use urllib2 to open url and to send specific cookie text to the server. E.g. …

python urllib2
python ignore certificate validation urllib2

I want to ignore the certification validation during my request to the server with an internal corporate link. With python …

python python-2.7 urllib2 python-requests
Proxy with urllib2

I open urls with: site = urllib2.urlopen('http://google.com') And what I want to do is connect the same …

python proxy urllib2
Python-Requests close http connection

I was wondering, how do you close a connection with Requests (python-requests.org)? With httplib it's HTTPConnection.close(), but how …

python http urllib2 httplib python-requests
Python urllib2 Basic Auth Problem

Update: based on Lee's comment I decided to condense my code to a really simple script and run it from …

python authentication urllib2
Handling urllib2's timeout? - Python

I'm using the timeout parameter within the urllib2's urlopen. urllib2.urlopen('http://www.example.org', timeout=1) How do I …

python timeout urllib2 urllib
Python URLLib / URLLib2 POST

I'm trying to create a super-simplistic Virtual In / Out Board using wx/Python. I've got the following code in place …

python post urllib2 urllib
Python POST binary data

I am writing some code to interface with redmine and I need to upload some files as part of the …

python rest post urllib2 redmine
catch specific HTTP error in python

I want to catch a specific http error and not any one of the entire family.. what I was trying …

python http urllib2 urllib