Python Selenium image scarping to text

  image, python, selenium

I am using selenium to scrap image to text from a website, and then put them into a csv file, http://www.58food.com/company_a1245289688.html

No idea if selenium could do that? Many thanks!!

driver.find_element_by_xpath('//*[@class="contact-text"]/d1/img[1]')
driver.find_element_by_xpath('//*[@class="contact-text"]/d1/img[2]')
and then..?

Source: Python Questions

LEAVE A COMMENT