weixin_46486995 2022-12-05 19:28 采纳率: 0%
浏览 15

json.decoder.JSONDecodeError: Expecting value: line 4 column 1 (char 6)

response 请求 获取数据

res = requests.post(url=url, headers=head).json()

print(res)
请求

json.decoder.JSONDecodeError: Expecting value: line 4 column 1 (char 6 ) 报错了
基本上网上的解决的 都解决不了

  • 写回答

1条回答 默认 最新

  • 阳光宅男xxb 2022-12-05 20:13
    关注

    可能返回的数据不是json格式的

    评论

报告相同问题?

问题事件

  • 创建了问题 12月5日