3 ms·
requests is really useful for non-trivial http requests (especially as urllib has terrible defaults around REST style interactions). But here all the script is
by masklinn 2y ago
requests is really useful for non-trivial http requests (especially as urllib has terrible defaults around REST style interactions).
But here all the script is going is a trivial GET, that’s
urllib.request.urlopen(url)