下载人才报告
from selenium import webdriver
driver = webdriver.Firefox()
driver.get("https://www.useit.com.cn/thread-25202-1-1.html")
tbody = driver.find_elements_by_tag_name("tbody")
imgs = tbody[6].find_elements_by_tag_name("img")
len(imgs)
for i in imgs:
print(i.get_attribute("file"))
print("download")
urllib.request.urlretrieve(i.get_attribute("file"), filename="/home/baixiaoxu/desk/img/{}.jpg".format(l))
l = l +1