摘要: 下载地址http://www.sublimetext.com/3 一、安装Package Control 按Ctrl + ` 调出console,粘贴下列安装代码到底部命令行并回车: 1 1 重启Sublime Text。如果在Perferences->Package Settings 中看到pac 阅读全文
posted @ 2019-02-18 23:24 hank-li 阅读(3461) 评论(0) 推荐(0)
摘要: application/x-www-form-urlencoded 这应该是最常见的 POST 提交数据的方式了。浏览器的原生 form 表单,如果不设置 enctype 属性,那么最终就会以 application/x-www-form-urlencoded 方式提交数据。请求类似于下面这样(无关 阅读全文
posted @ 2019-02-18 21:25 hank-li 阅读(715) 评论(0) 推荐(0)
摘要: content = etree.HTML(text) h = content.xpath('//h1') h1 = h[0].xpath('string(.)').strip() 阅读全文
posted @ 2019-02-18 12:38 hank-li 阅读(927) 评论(0) 推荐(0)