摘要:
# coding:utf-8 import time from threading import Thread def foo(x):#这里可以带参数def foo(x) print "foo start 启动耗时".decode('utf-8'), time.ctime() time.sleep(x) print "foo start 运行结束:".decode(... 阅读全文
摘要:
去年写的一个小功能,一年过得好快,好快! 目的:爬取京东商品详情页面的内容(商品名称、价格、评价数量)后存储到xls文档中,方便商家分析自己商品的动态。 软件:chrome(windows)、chromedriver.exe、phantomjs.exe 、anaconda、pycharm 实现:用s 阅读全文
摘要:
# -*- coding: utf-8 -*- from __future__ import division from selenium import webdriver import time from selenium.webdriver.common.by import By from selenium.webdriver.support.ui import WebDriverWait ... 阅读全文
摘要:
最新的chromedriver 66.0.3359.117 的对应chromedriver版本为 2.38 http://npm.taobao.org/mirrors/chromedriver/ WebDriverException: Message: unknown error: call fun 阅读全文