python Requests 爬取富士康社招网站的招聘信息
1.1 从第一页中获取最大页码数frist_tree = etree.HTML(response) max_page = int(re.findall('\d+', frist_tree.xpath('//a[text()="末页"]/@title')[0])[0]) print(max_page) # 最大页码1.2 从第一页中获取翻页需要的data因...
原创
2019-10-27 20:06:05 ·
254 阅读 ·
0 评论