摘要: def plantjs_request(url): desired_capabilities = DesiredCapabilities.PHANTOMJS.copy() # 1. User-Agent desired_capabilities['phantomjs.page.settings.us 阅读全文
posted @ 2017-10-31 01:22 人微言轻1 阅读(267) 评论(0) 推荐(0) 编辑
摘要: #!/usr/bin/python# -*-coding:utf-8-*- """@author: yugengde@contact: yugengde@163.com@file : Threading.py@time: 2017/11/5 21:09"""import requestsfrom multiprocessing import Poolurls = []for i in ran... 阅读全文
posted @ 2017-10-31 01:22 人微言轻1 阅读(152) 评论(0) 推荐(0) 编辑
摘要: import requestsfrom lxml import etreeurl = 'https://item.taobao.com/item.htm?spm=a219r.lm893.14.118.238e8d532nCpy9&id=537796877521&ns=1&abbucket=1'res 阅读全文
posted @ 2017-10-31 01:21 人微言轻1 阅读(1622) 评论(0) 推荐(0) 编辑