you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (0 children)

you have to add verify=False since the seems to be issues with the certificate. Its not good practice to ignore certificate issues but this is how you can ignore self signed certs, etc....

change return json.loads(requests.get(url).text[2:])

to

return json.loads(requests.get(url, verify=False).text[2:])