The program is written by Python based on the Google youtube v3 API. The basic function is to scrape various information from youtube videos.
Input the search terms, the program will automatically search all related videos, retrieve and return video information seperately.
- title
- video id
- channel name
- number of subscriptions
- number of views
- publish date
- number of comments
- number of likes
- Git clone current repo
- Pip install used packages
- Get the api key from google developer console, change the developer api key in test.py.
- Add search term inside bottom function
- Input the quota (number of videos'information return)
- Run python3 test.py
One .xlsx file one search. Check the sample output shown below.