摘要: import json import jsonpath import requests url="https://www.lagou.com/lbs/getAllCitySearchLabels.json" headers = { "User-Agent": "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHT... 阅读全文
posted @ 2017-12-11 15:16 公众号python学习开发 阅读(452) 评论(0) 推荐(0) 编辑
摘要: from bs4 import BeautifulSoup import requests import time def captcha(captcha_data): with open("captcha.jpg",'wb') as f: f.write(captcha_data) text=input("请输入验证码") def zhihuLogin... 阅读全文
posted @ 2017-12-11 14:47 公众号python学习开发 阅读(924) 评论(0) 推荐(0) 编辑