Top "Urlopen" questions

The urlopen is a method of the urllib library in Python, used to open a particular URL.

How can I speed up fetching pages with urllib2 in python?

I have a script that fetches several web pages and parses the info. (An example can be seen at http://…

python time urllib2 urlopen cprofile
timeout for urllib2.urlopen() in pre Python 2.6 versions

The urllib2 documentation says that timeout parameter was added in Python 2.6. Unfortunately my code base has been running on Python 2.5 …

python urllib2 urlopen
Use "byte-like object" from urlopen.read with JSON?

Just trying to test out very simple Python JSON commands, but I'm having some trouble. urlopen('http://www.similarsitesearch.com/…

python python-3.x urlopen
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
how to handle "getaddrinfo failed"?

Hallo, i have problem. i use mechanize, python 2.7 to connect some sites (the code is not important right now) i …

python urllib2 urllib urlopen
urllib.error.URLError: <urlopen error no host given> python 3

I have this code in python 3.4 import urllib.request def read_text(): document = open(r"C:\mystuff\udacity\pruebatxt.txt") …

python python-3.x urllib urlopen
How to pass parameter to Url with Python urlopen

I'm currently new to python programming. My problem is that my python program doesn't seem to pass/encode the parameter …

asp-classic python-3.x urllib urlopen
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
Web scraping urlopen in python

I am trying to get the data from this website: http://www.boursorama.com/includes/cours/last_transactions.phtml?symbole=1…

python urlopen
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