ProtoBuf官方:google.protobuf.descriptor — Protocol Buffers 4.21.1 documentation
详解Python Google Protocol Buffer
头条文章 巧用 Protobuf 反射来优化代码,拒做 PB Boy
详解Python Google Protocol Buffer - 掘金
自研抓包服务实现(1)—Mitmproxy抓包数据处理_雀氏。的博客-CSDN博客_mitmproxy dumpmaster深入了解mitmproxy(二) - 公众号python学习开发 - 博客园
mitmdump 截取wws协议发送的信息_硌手的虫子的博客-CSDN博客
大多数网站都对支持gzip压缩的浏览器做了gzip的压缩,在python中可以通过gzip包处理gzip压缩过的网页,所以问题就是内容有压缩过,直接decode不行,需要用gzip来解压。然后再decode。import gzip
...
html = gzip.decompress(response)
html = html.decode('gbk')