This is a python tool for exporting playlists from your YouTube account. It allows to import playlist data from CSV files and exports all playlists to a simple, browsable HTML web page as well as a JSON file.
YouTube data exported via Google Takeout does not contain much information on the videos within a playlist. Therefore, this tool uses the Invidious REST API to retrieve additional data on each video (e.g. title, duration and thumbnail) and saves this locally. This allows to keep an easy-to-use copy of your YouTube playlist even if you delete your YouTube account. Note that the videos are not downloaded.
- Download your YouTube data using Google Takeout. This will yield a zip file containing CSV files, one for each playlist.
- Supply all configuration values, especially the path to your CSV files, in
config.cfg
. - Execute the script by running
python3 main.py
.
This project is licensed under the GNU General Public License v3.0.
This project is not endorsed or certified by YouTube / Google LLC.