Y
Hacker News
new
|
ask
|
show
|
jobs
by
masklinn
449 days 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)