【发布时间】:2021-07-02 07:37:03
【问题描述】:
import requests
headers = {
"Host" : "iplocation.com"
}
res= requests.get("https://iplocation.com/", headers=headers).json()
print(res)
错误
json.decoder.JSONDecodeError:预期值:第 1 行第 1 列(字符 0)
我该怎么办?
【问题讨论】:
标签: python json python-requests ip