Skip to content

This is a simple program for generating useful statistics about your YouTube watch history

Notifications You must be signed in to change notification settings

matiapa/youtube-stats

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

YouTube Stats

This is a simple program for generating useful statistics about your YouTube watch history.

How to use

  1. Download latest version of Python.
  2. Run "pip install -r .\requirements.txt".
  3. Go to https://takeout.google.com/settings/takeout.
  4. Choose only YouTube on the list of products to export.
  5. Choose only watch history on the list of data to export.
  6. Choose JSON as the export format of the watch history.
  7. Choose ZIP as export format and wait for the export to finish.
  8. Extract the watch history file, it's extension is .json.
  9. Rename it as "history.json" and put it on the "in/" folder.
  10. Run with "python main.py", data will be generated on the "out/" folder.

Generated statistics

What Why
Total hours spent on Youtube To see how bussy your life is
Histogram of video popularity (by likes and views) To see how weird your tastes are
Histogram of video watch dates To know those dark and happy periods of your life
Top categories To know what you love

Privacy concerns

All of your compromising watch history will be seen by humans and sold to Facebook and NSA... Just kidding ofc, your watch history is processed locally so it never leaves your computer, you can check this on the code!

About

This is a simple program for generating useful statistics about your YouTube watch history

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages