5. Scraping Data using Selenium | Countries | Web Scraping Tutorial | Python

preview_player
Показать описание
⭐️ Content Description ⭐️
In this video, I have explained on how to scrape data using selenium in python with the help of chrome driver. I am going to scrape country names and population using selenium.

Make a small donation to support the channel 🙏🙏🙏:-

#scrapedatausingselenium #webscraping #hackersrealm #countries #selenium #beautifulsoup #web #data #scraping #datascraping #datamining #datascience #datacollection #fiverr #dataanalytics #data #ecommerce #dataextraction #webresearch #webscraper #code #beginner #python #tutorial #programming #coding #codinginterview #aswin
Рекомендации по теме
Комментарии
Автор

Hey Hackers,
I believe selenium module got updated and existing code need few changes to work. To resolve that, use the following,
```
from selenium.webdriver.common.by import By

# update these snippets
browser = = path) browser = webdriver.Chrome()
----> browser.find_elements(By.CLASS_NAME, 'country-population')

```
The notebook is already updated and available in GitHub repository.

Thank you so much for your support!!!
Happy Coding🔥

HackersRealm
Автор

bro if there is 2 or many pages then how it can extract the data plese share the code

rajeshkumarsahoo
Автор

Initially I could not load the browser and I followed this method and rest is the same:
pip install webdriver-manager
import pandas as pd
from selenium import webdriver
from webdriver_manager.chrome import ChromeDriverManager
browser =

sharans