2 ответов
+ 6
Can also use "requests" library
http://docs.python-requests.org/en/master/user/install/#install
https://www.pythonforbeginners.com/requests/using-requests-in-python
+ 3
Importing the urllib.request library is the simplest way to accomplish this. The method you'll want to use is urlopen. See example:
https://code.sololearn.com/ckWSwgv7tNlt/?ref=app