上一页 1 ··· 30 31 32 33 34 35 36 37 38 ··· 96 下一页
摘要: from selenium import webdriverfrom time import sleepfrom selenium.webdriver.chrome.options import Optionschrome_options = Options()chrome_options.add_ 阅读全文
posted @ 2020-02-22 16:23 干it的小张 阅读(355) 评论(0) 推荐(0) 编辑
摘要: - cookie的处理 - 手动处理 - cookie从抓包工具中捕获封装到headers中 - 自动处理 - session对象。- 代理 - 代理服务器 - 进行请求转发 - 代理ip:port作用到get、post方法的proxies = {'http':'ip:port'}中 - 代理池(列 阅读全文
posted @ 2020-02-22 16:06 干it的小张 阅读(271) 评论(0) 推荐(0) 编辑
摘要: from selenium import webdriverfrom time import sleepfrom PIL import Imagefrom selenium.webdriver import ActionChainsfrom Cjy import Chaojiying_Clientf 阅读全文
posted @ 2020-02-20 17:48 干it的小张 阅读(184) 评论(0) 推荐(0) 编辑
摘要: import requestsfrom hashlib import md5class Chaojiying_Client(object): def __init__(self, username, password, soft_id): self.username = username passw 阅读全文
posted @ 2020-02-20 17:21 干it的小张 阅读(607) 评论(0) 推荐(0) 编辑
摘要: from selenium import webdriverfrom time import sleepfrom selenium.webdriver import ActionChainsbro = webdriver.Chrome(executable_path='chromedriver.ex 阅读全文
posted @ 2020-02-20 15:46 干it的小张 阅读(254) 评论(0) 推荐(0) 编辑
上一页 1 ··· 30 31 32 33 34 35 36 37 38 ··· 96 下一页