Top "Urllib" questions

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

no module named urllib.parse (How should I install it?)

I'm trying to run a REST API on CentOS 7, I read urllib.parse is in Python 3 but I'm using Python 2.7.5 …

python django urllib
can we use xpath with BeautifulSoup?

I am using BeautifulSoup to scrape a url and I had the following code import urllib import urllib2 from BeautifulSoup …

python xpath beautifulsoup urllib
urllib2.HTTPError: HTTP Error 403: Forbidden

I am trying to automate download of historic stock data using python. The URL I am trying to open responds …

python http urllib
I/O error(socket error): [Errno 111] Connection refused

I have a program that uses urllib to periodically fetch a url, and I see intermittent errors like : I/O …

python sockets urllib
How do I set headers using python's urllib?

I am pretty new to python's urllib. What I need to do is set a custom header for the request …

python http header urllib
replace special characters in a string python

I am using urllib to get a string of html from a website and need to put each word in …

python string list replace urllib
'module' has no attribute 'urlencode'

When I try to follow the Python Wiki's example related to URL encoding: >>> import urllib >>&…

python python-3.x urllib
python save image from url

I got a problem when I am using python to save an image from url either by urllib2 request or …

python image download urllib
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