Skip to content

Latest commit

 

History

History
43 lines (26 loc) · 1 KB

File metadata and controls

43 lines (26 loc) · 1 KB

Package/Script Name

Aim

The aim of this project is to make a web scraper that scrapes YouTube.

Purpose

The purpose of this project is to get the top 10 trending videos in each of the categories

Short description of package/script

  • The program gets the top 10 trending videos in each of YouTube's 4 categories and stores them in an excel fileby opening Chrome and navigating to the pages it needs to scrape.
  • Imported libraries
    • BeautifulSoup
    • Selenium
    • Pandas
    • Requests

Workflow of the Project

  1. Import libraries
  2. Make the list of URLs to be scraped from
  3. Scrape the URLs
  4. Store the results in a pandas dataframe
  5. Create an excel file

Setup instructions

  • Make sure BeautifulSoup, Selenium, and Pandas are installed
  • Make sure Chrome webdriver is installed
  • Run the program and an excel file will be created with the scraped information

Output

![image](WebScrapingScripts\YouTube Trending Videos Scraper\Images\Output.PNG)

Author(s)

Bhavesh Mandalapu