Python Selenium Tutorial: Scraping Google Search Results

preview_player
Показать описание
Here is quick step by step video of scraping google search results using python selenium Webdriver.

You can find the code here:

You can download WebDriver here

0:00 introduction
01:00 download and install chromedriver
03:50 Run selenium webdriver in terminal
06:38 locate and extract html element using selenium path
09:43 save selenium results to csv file
Рекомендации по теме
Комментарии
Автор

Hi, thank you for sharing this. But how do you scrape the data beyond the first page? and also prevent google from blocking us with captcha?

juandasisnawan
Автор

How to get search results if it contains more than 1 page like for example 100 pages. Please reply. Thanks

akshaymbhat
Автор

Hi, I also have videos about this topic but I did not use python more than a year so I forget selenium totally. I found your video and tried your codes but unfortunately the link part raises error and I couldn't solve it. Code is
error is:
It says no such element but I can find that element when I check from chrome. Do you have any idea?

Programlama
Автор

Do you have this code on the Github repo? I need urgently for a job assignment!

ANURAGSHARMA
Автор

This is all what i wanted
Thanks @Let’sScrapeTheWeb creator
Only one question drive.find_element_by_xpath is not working for me though i got the solution on StackOverflow but why i am getting this error

jinaykothari