Skip to content

Latest commit

 

History

History
43 lines (34 loc) · 825 Bytes

README.md

File metadata and controls

43 lines (34 loc) · 825 Bytes

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