MCPcopy Index your code
hub / github.com/chrrel/youtube-playlist-exporter

github.com/chrrel/youtube-playlist-exporter @v1.2

Chat with this repo
repository ↗ · DeepWiki ↗ · release v1.2 ↗ · + Follow
17 symbols 63 edges 5 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

YouTube Playlist Exporter

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.

Screenshot

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.

Usage

  1. Download your YouTube data using Google Takeout. This will yield a zip file containing CSV files, one for each playlist.
  2. Supply all configuration values, especially the path to your CSV files, in config.cfg.
  3. Execute the script:
python3 youtube-playlist-exporter config.cfg 

License

This project is licensed under the GNU General Public License v3.0.

This project is not endorsed or certified by YouTube / Google LLC.

Core symbols most depended-on inside this repo

_esc
called by 15
youtube-playlist-exporter/HtmlExporter.py
_load_file_content
called by 4
youtube-playlist-exporter/utils.py
_write_file_content
called by 2
youtube-playlist-exporter/utils.py
displayActivePlaylist
called by 2
youtube-playlist-exporter/res/main.js
get_data_for_playlists
called by 1
youtube-playlist-exporter/InvidiousApi.py
main
called by 1
youtube-playlist-exporter/__main__.py
playlists_to_html
called by 1
youtube-playlist-exporter/HtmlExporter.py
_video_to_html
called by 1
youtube-playlist-exporter/HtmlExporter.py

Shape

Function 8
Method 7
Class 2

Languages

Python94%
TypeScript6%

Modules by API surface

youtube-playlist-exporter/utils.py6 symbols
youtube-playlist-exporter/HtmlExporter.py5 symbols
youtube-playlist-exporter/InvidiousApi.py4 symbols
youtube-playlist-exporter/res/main.js1 symbols
youtube-playlist-exporter/__main__.py1 symbols

For agents

$ claude mcp add youtube-playlist-exporter \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page