Skip to content

The program is written by Python based on the Google youtube v3 API. The basic function is to scrape various information from youtube videos.

Notifications You must be signed in to change notification settings

Riveray-Jiang/youtube-crawler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Youtube crawler

Alt text

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.

The information this tool crawl includes:

  • title
  • video id
  • channel name
  • number of subscriptions
  • number of views
  • publish date
  • number of comments
  • number of likes

How to run the program

  1. Git clone current repo
  2. Pip install used packages
  3. Get the api key from google developer console, change the developer api key in test.py.
  4. Add search term inside bottom function
  5. Input the quota (number of videos'information return)
  6. Run python3 test.py

Sample Output

One .xlsx file one search. Check the sample output shown below. Alt text

About

The program is written by Python based on the Google youtube v3 API. The basic function is to scrape various information from youtube videos.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages