下载selenium
chromedriver.exe ------ F:\Python27\
phantomjs.exe ------- F:\Python27\Scripts
from selenium import webdriver
url = 'http://www.jdcsww.com/qcggdetail/637838'
browser = webdriver.Chrome() # 打开 FireFox 浏览器
browser.get(url)
content = browser.find_element_by_class_name('contentdetail') # 通过标记id 获取网页的内容
content = content.text
browser.quit() # 关闭浏览器
print("content: " + content)