摘要: # dict1 = {}# import json,re# res = re.findall('\n(.*?)\n',str1)# for i in res:# aaa = i.split(':')# print(aaa)# if len(aaa) ==2 :# dict1[aaa[0].strip 阅读全文
posted @ 2020-04-27 21:41 专注于区块链开发 阅读(419) 评论(0) 推荐(0) 编辑
摘要: 原创曾记否? 最后发布于2018-09-10 19:40:54 阅读数 9955 收藏展开为什么要对URL进行encode在写网络爬虫时,发现提交表单中的中文字符都变成了TextBox1=%B8%C5%C2%CA%C2%DB这种样子,观察这是中文对应的GB2312编码,实际上是进行了GB2312编码 阅读全文
posted @ 2020-04-27 16:42 专注于区块链开发 阅读(977) 评论(0) 推荐(0) 编辑