摘要: 用户名,正则 用户名,中文,解码 图片: 三种: 第一种最大,第二种是在网页贴子中点击得到,第三种是手机。 都含有“53cda0dcd100baa1e36f15944b10b912c9fc2e4a” 阅读全文
posted @ 2018-03-09 23:09 苛性氢 阅读(290) 评论(0) 推荐(0) 编辑
摘要: 用百度搜索中文,中文以utf8编码存储在url中。 使用python可以解码: from urllib.parse import unquote unquote('str',encoding=) 阅读全文
posted @ 2018-03-09 22:57 苛性氢 阅读(434) 评论(0) 推荐(0) 编辑
摘要: html = etree.HTML(str/bytes) 参数可以是str或bytes类型,返回值是etree._Element。 调用etree.parse('hello.html'),参数是文件路径,返回值是etree._ElementTree。 etree.tostring(html,enco 阅读全文
posted @ 2018-03-09 19:33 苛性氢 阅读(507) 评论(0) 推荐(0) 编辑