lundi 18 avril 2016

python requests.get() keep getting 401

The task I want to complete is very simple. To do a http get request using python. Below is the code I used:

url = 'http://ift.tt/1qCgLm9'

requests.get(url)

Then I got:

<Response [401]>

I am new to python, can someone help? Thanks!




Aucun commentaire:

Enregistrer un commentaire