Python selenium 用 page_source 获取网页源码

from selenium import webdriver

driver = webdriver.Chrome()
response = driver.get('http://culture.dzwww.com/wx/')
print(driver.page_source)

 

你可能感兴趣的:(Python)