摘要: selenium + chrome插件的使用,首先要将chrome插件下载本地(下载地址 https://chromedriver.storage.googleapis.com/index.html?path=2.38/ )解压至任意的配有全局环境变量的路径下 同理phantomeJS 阅读全文
posted @ 2018-05-02 15:36 自说自话唉 阅读(103) 评论(0) 推荐(0) 编辑
摘要: #百度线程 def baiduss(urls): for web in urls: if web: #百度site webToF = baiduwebJudge(web) #判断去留 T 为留 F为扔 if webToF == "T": prin... 阅读全文
posted @ 2018-05-02 15:25 自说自话唉 阅读(164) 评论(0) 推荐(0) 编辑
摘要: 先模拟登陆获取cookie,再拿着cookie访问网站,获取想要的搜索结果 阅读全文
posted @ 2018-05-02 15:19 自说自话唉 阅读(798) 评论(0) 推荐(0) 编辑