问题:
requests.exceptions.InvalidHeader: Value for header {Upgrade-Insecure-Requests: 1} must be of type str or bytes, not <class 'int'>
解决:
把int改为string类型
本文共 205 字,大约阅读时间需要 1 分钟。
问题:
requests.exceptions.InvalidHeader: Value for header {Upgrade-Insecure-Requests: 1} must be of type str or bytes, not <class 'int'>
解决:
把int改为string类型
转载于:https://www.cnblogs.com/hankleo/p/10263953.html