Scripts for Recovering or Transferring YouTube Data
This project contains several Python scripts using Clicknium to help in recovering or transferring YouTube data:
Import History using Google Takeout File(s)
Import History using Google My Activity Page
Import Playlists using Google Takeout File(s) (in progress)
Inspiring Source
All of these scripts are inpired by this Reddit post. Most of the credit for the first script should go to that OP.
Potential Future Enhancements
modify ImportHistoryTakeout.py to use all files in the history folder dynamically instead of hardcoding two filenames
when opening a video for history, check the length and wait that long (or half that long?)
increase video playback speed for opening videos for history
if video unavailable (private, removed, members only), do not wait at all
handle bug for YouTube Music where it asks about leaving without saving changes (bug might be fixed by video watch length enhancements)
add option to include or ignore YouTube Music urls to both ImportHistory scripts
0 likes · 25 views · May 14, 2024
Python script for transferring YouTube and YouTube Music watch and search history.