简体   繁体   中英

Google search using python and scrape first result

I have a list (in Excel) of the names of several companies. When I run a Google search on the "company name" and "address", I get the address as the first result in a box.

I would like to get this result in the cell opposite to each company name. Could someone please help me with the script and the right packages to run the search and scrape the first result into excel?

It seems like you're asking someone to write a program for you. That's not what this is for. Have you tried writing it yourself and are running into specific problems?

Try coding it and report back if you have problems. This website should get you started with selenium's webdriver.

https://www.seleniumhq.org/docs/03_webdriver.jsp

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM