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")
学以致用,知行合一
import requests
sub_response = requests.get(sub_comment_url)
sub_response.content.decode("utf-8")