This is a simple program for generating useful statistics about your YouTube watch history.
- Download latest version of Python.
- Run "pip install -r .\requirements.txt".
- Go to https://takeout.google.com/settings/takeout.
- Choose only YouTube on the list of products to export.
- Choose only watch history on the list of data to export.
- Choose JSON as the export format of the watch history.
- Choose ZIP as export format and wait for the export to finish.
- Extract the watch history file, it's extension is .json.
- Rename it as "history.json" and put it on the "in/" folder.
- Run with "python main.py", data will be generated on the "out/" folder.
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 |
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!