网页爬虫 - python爬虫:用requests.post提交表单抓取异步ajax信息失败
http://www.zjzfcg.gov.cn/cggg?pageNum=1&pageCount=30&searchKey=%E8%99%9A%E6%8B%9F%E5%8C%96&bidType=0&bidWay=0&region=0请看这个网站,翻页是通过ajax的,并没有刷新界面。我做了爬虫...
大家讲道理 2017-04-18 09:06:53 0 2 832
python - 动态提取文件中的变量
动态查询包含特定子字符的变量,比如包含JSQ的变量。 {代码...} 通过换行或者空格或者“.”提取,searchkey 为 JSQ {代码...} 期待结果: {代码...} 实际结果: {代码...}
大家讲道理 2017-04-18 09:04:53 0 1 235