Top "Urllib" questions

Python module providing a high-level interface for fetching data across the World Wide Web.

AttributeError: module 'urllib' has no attribute 'parse'

python 3.5.2 code 1 import urllib s = urllib.parse.quote('"') print(s) it gave this error: AttributeError: module 'urllib' has …

python urllib python-3.5
Python urllib vs httplib?

When would someone use httplib and when urllib? What are the differences? I think I ready urllib uses httplib, I …

python http urllib httplib
Python: Clicking a button with urllib or urllib2

I want to click a button with python, the info for the form is automatically filled by the webpage. the …

python urllib2 mechanize urllib twill
urllib.request.urlretrieve with proxy?

somehow I can't download files trough a proxyserver, and I don't know what i have done wrong. I just get …

python-3.x urllib
What is the difference between <class 'str'> and <type 'str'>

I am new to python. I'm confused by the <class 'str'>. I got a str by using: response = …

python types decode urllib
Python 3.0 urllib.parse error "Type str doesn't support the buffer API"

File "/usr/local/lib/python3.0/cgi.py", line 477, in __init__ self.read_urlencoded() File "/usr/local/lib/python3.0/cgi.py", …

python cgi python-3.x urllib
Python 3 - urllib, HTTP Error 407: Proxy Authentication Required

I'm trying to open a website (I am behind a corporate proxy) using urllib.request.urlopen() but I am getting …

python authentication proxy urllib
Python error when using urllib.open

When I run this: import urllib feed = urllib.urlopen("http://www.yahoo.com") print feed I get this output in …

python urllib
Python encoding characters with urllib.quote

I'm trying to encode non-ASCII characters so I can put them inside an url and use them in urlopen. The …

python encoding urllib
SSL: CERTIFICATE_VERIFY_FAILED with urllib

I'm running into trouble with the module urllib (Python 3.6). Every time I use the module, I get a page's worth …

python-3.x urllib