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

编码问题,转换成utf-8即可正常运行

import requests

sub_response = requests.get(sub_comment_url)
sub_response.content.decode("utf-8")
posted @ 2021-07-27 15:13  胸怀丶若谷  阅读(154)  评论(0)    收藏  举报