Skip to content

This is a API based youtube.com scrapper With individual API KEY and Python .

Notifications You must be signed in to change notification settings

amirbnprogramming/YouTube-Scraper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python YouTube channels scraper

This is a scraper for YouTube.com with API . You only give it the channel name.

It can scrape all below items :

  1. Channel ID
  2. Playlist Name
  3. Playlist ID
  4. Published Date
  5. Thumbnail

Scrape All Videos In Current Playlist:

  1. Video Title
  2. Video ID
  3. Video Link
  4. Views
  5. Likes
  6. Comments

Scrape All Comments For Current Video: Video title

  1. Author
  2. Text
  3. Replies
  4. Date

It exports the data as CSV file from each one .

Quick start

  1. Make a google cloud project and generate your api_token for youtube::
  2. Set the api key in constants.py
  3. Install packages in requirements.txt file with pip install -r
  4. Start scraping ....

TODO

- scrape data , save in csv file , then see the view, Log everything .

Python Ver ==3.11