很遗憾,部分数据有些问题,不过还是可以进行爬取出来的
先贴上源代码
#encoding=utf8
from selenium import webdriver
import re
from bs4 import BeautifulSoup
from selenium.webdriver.common.keys import Keys
from selenium.webdriver.common.action_chains import ActionChains
import time
#使用selenium
# driver = webdriver.PhantomJS(executable_path="D:\\phantomjs.exe") #因为这里把phantomjs.exe 放在py35下了,所以可以不用设置
#1 使用selenium
driver = webdriver.PhantomJS()