I made this program a few month ago and it was fine. Now i tried to run it and i’m getting JSONDecodeError. I tried another url’s and so it wasn’t working either. However, url’s with json extensions are working. Can someone help me with this?
<code>import json
print(requests.get('https://github.com/pwaller/pyfiglet/tree/main/pyfiglet/fonts-standard'.json())
</code>
<code>import json
print(requests.get('https://github.com/pwaller/pyfiglet/tree/main/pyfiglet/fonts-standard'.json())
</code>
import json
print(requests.get('https://github.com/pwaller/pyfiglet/tree/main/pyfiglet/fonts-standard'.json())
Errors
New contributor
user25991606 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.