Top "Urllib2" questions

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

How to download any(!) webpage with correct charset in python?

Problem When screen-scraping a webpage using python one has to know the character encoding of the page. If you get …

python character-encoding screen-scraping urllib2 urllib
Python 3 urllib Vs requests performance

I'm using python 3.5 and I'm checking the performance of urllib module Vs requests module. I wrote two clients in python …

python performance python-requests urllib2 urllib3
Multiple (asynchronous) connections with urllib2 or other http library?

I have code like this. for p in range(1,1000): result = False while result is False: ret = urllib2.Request('http://server/?…

python asynchronous urllib2 python-2.5
Python interface to PayPal - urllib.urlencode non-ASCII characters failing

I am trying to implement PayPal IPN functionality. The basic protocol is as such: The client is redirected from my …

python unicode paypal urllib2 urllib
How to get the hidden input's value by using python?

How can i get input value from html page like <input type="hidden" name="captId" value="AqXpRsh3s9QHfxUb6…

python python-2.7 urllib2 findall
Python script to translate via google translate

I'm trying to learn python, so I decided to write a script that could translate something using google translate. Till …

python beautifulsoup urllib2 google-translate
How to Speed Up Python's urllib2 when doing multiple requests

I am making several http requests to a particular host using python's urllib2 library. Each time a request is made …

python http urllib2
Tell urllib2 to use custom DNS

I'd like to tell urllib2.urlopen (or a custom opener) to use 127.0.0.1 (or ::1) to resolve addresses. I wouldn't change my /…

python dns urllib2 dnspython urlopen
Python download without supplying a filename

How do I download a file with progress report using python but without supplying a filename. I have tried urllib.…

python download urllib2 urllib
Does urllib2.urlopen() cache stuff?

They didn't mention this in python documentation. And recently I'm testing a website simply refreshing the site using urllib2.urlopen() …

python urllib2 urlopen