python3 requests在Linux系统中返回字节码

Dev 116 浏览 1 分钟阅读

在Linux系统或者Docker容器下,使用Python3 requests库,返回乱码

requests.exceptions.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

添加brotlipy 库解决

参考链接

0

  1. This post has no comment yet

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注