What should I use to open a url instead of urlopen in urllib3
urllib3 is a different library from urllib and urllib2. It has lots of additional features to the urllibs in the standard library, if you need them, things like re-using connections. The documentation is here: https://urllib3.readthedocs.org/ If you’d like to use urllib3, you’ll need to pip install urllib3. A basic example looks like this: from bs4 … Read more