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 :
- Channel ID
- Playlist Name
- Playlist ID
- Published Date
- Thumbnail
Scrape All Videos In Current Playlist:
- Video Title
- Video ID
- Video Link
- Views
- Likes
- Comments
Scrape All Comments For Current Video: Video title
- Author
- Text
- Replies
- Date
It exports the data as CSV file from each one .
- Make a google cloud project and generate your api_token for youtube::
- Set the api key in
constants.py
- Install packages in
requirements.txt
file with pip install -r - Start scraping ....
- scrape data , save in csv file , then see the view, Log everything .
Python Ver ==3.11