Top "Urllib" questions

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

How to close urllib2 connection?

I have made a program using urllib2 that makes a lot of connections across the web. I noticed that eventually …

python connection urllib ddos
Python 3.4 urllib.request error (http 403)

I'm trying to open and parse a html page. In python 2.7.8 I have no problem: import urllib url = "https://ipdb.…

python python-3.x urllib
What should I do if socket.setdefaulttimeout() is not working?

I'm writing a script(multi-threaded) to retrieve contents from a website, and the site's not very stable so every now …

python http urllib2 mechanize urllib
download image from url using python urllib but receiving HTTP Error 403: Forbidden

I want to download image file from a url using python module "urllib.request", which works for some website (e.…

image python-3.x url download urllib
Which urllib I should choose?

as we know, python has two built-in url lib: urllib urllib2 and a third-party lib: urllib3 if my requirement is …

python urllib2 urllib urllib3
Is there a unicode-ready substitute I can use for urllib.quote and urllib.unquote in Python 2.6.5?

Python's urllib.quote and urllib.unquote do not handle Unicode correctly in Python 2.6.5. This is what happens: In [5]: print urllib.…

python unicode urllib
how do I update root certificates of certifi?

I am using certifi python module to verify ssl connections. I looked at the root certificates included in certifi (python2.7/…

python ssl urllib root-certificate certifi
Urllib and validation of server certificate

I use python 2.6 and request Facebook API (https). I guess my service could be target of Man In The Middle …

python ssl ssl-certificate urllib
urllib2.urlopen() vs urllib.urlopen() - urllib2 throws 404 while urllib works! WHY?

import urllib print urllib.urlopen('http://www.reefgeek.com/equipment/Controllers_&_Monitors/Neptune_Systems_AquaController/Apex_Controller_&_Accessories/…

python url http-status-code-404 urllib2 urllib
Again urllib.error.HTTPError: HTTP Error 400: Bad Request

Hy! I tried to open web-page, that is normally opening in browser, but python just swears and does not want …

python python-3.x urllib http-status-code-400 urlopen