Dec-19-2022, 07:22 PM
If you want json, ask for json. You are asking for text.
import requests url="https://www.google.com/" response=requests.get(url) # Leave as a reply print(response.text) # If you want to see text print(response.json()) # If you want to see json