mini version of https://github.com/menggatot/youtube-watch-history-to-csv.git This project allows you to convert your YouTube watch history HTML file from Google Takeout into a CSV file that can be used by the universalscrobbler.com to Scrobble manually in bulk.
Follow these steps to download your YouTube watch history from Google Takeout:
- Go to Google Takeout.
- Click
Create new export
. - Click
Deselect all
. - Scroll down and find YouTube, then check mark it.
- Click
All YouTube data included
. - Click
Deselect all
. - Only select
History
. - Click
Ok
. - Click
Next step
. - Select
Send the download link via email
. - Select
Export once
. - For file type, choose
.zip
. - Choose the maximum size of 1GB (the history file is less than 100MB).
- Click
Create export
.
You will receive a .zip
file named takeout-xxxxx-xxx.zip
in your email. Extract the file named watch-history.html
located in the Takeout/Youtube and YouTube Music/history/
directory from the zip file.
install required packages
pip install -r requirements.txt
python history-to-csv.py watch-history.html watch-history.csv