About 2,350,000 results
Open links in new tab
  1. python - What are the differences between the urllib, urllib2, …

    In Python, what are the differences between the urllib, urllib2, urllib3 and requests modules? Why are there three? They seem to do the same thing...

  2. How to build URLs in Python with the standard library?

    77 urlparse in the python standard library is all about building valid urls. Check the documentation of urlparse Example:

  3. opening a url with urllib in python 3 - Stack Overflow

    May 1, 2016 · I'm trying to open the URL of this API from the sunlight foundation and return the data from the page in JSON. This is the code I've produced, minus the parenthesis around my …

  4. How do I avoid HTTP error 403 when web scraping with Python?

    When I try this code to scrape a web page: #import requests import urllib.request from bs4 import BeautifulSoup #from urllib import urlopen import re webpage = urllib ...

  5. Python: Importing urllib.quote - Stack Overflow

    Aug 5, 2015 · try: from urllib import quote # Python 2.X except ImportError: from urllib.parse import quote # Python 3+ You could also use the python compatibility wrapper six to handle this.

  6. Python 3 urllib ignore SSL certificate verification

    Apr 13, 2016 · I have a server setup for testing, with a self-signed certificate, and want to be able to test towards it. How do you ignore SSL verification in the Python 3 version of urlopen? All …

  7. python - SSL: CERTIFICATE_VERIFY_FAILED with Python3 - Stack …

    Sep 2, 2017 · Go to the folder where Python is installed, e.g., in my case (Mac OS) it is installed in the Applications folder with the folder name 'Python 3.6'. Now double click on 'Install …

  8. python - what does urllib.request.urlopen () do? - Stack Overflow

    Aug 7, 2016 · In python 3 does urlopen function from urllib.request module retrieve the target of the URL or just open a connection to the URL as a file handle or have i completely lost it ? I …

  9. python - urllib and "SSL: CERTIFICATE_VERIFY_FAILED" Error

    Jan 8, 2015 · I was having a similar problem, though I was using urllib.request.urlopen in Python 3.4, 3.5, and 3.6. (This is a portion of the Python 3 equivalent of urllib2, per the note at the …

  10. How can I open a website with urllib via proxy in Python?

    Dec 28, 2015 · urllib.urlopen in Python 3 doen't have parameter proxies. It out of dated: > Proxy handling, which was done by passing a dictionary parameter to urllib.urlopen, can be obtained …