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.
config.cfg.python3 youtube-playlist-exporter config.cfg
This project is licensed under the GNU General Public License v3.0.
This project is not endorsed or certified by YouTube / Google LLC.
$ claude mcp add youtube-playlist-exporter \
-- python -m otcore.mcp_server <graph>