This browser bookmarklet extracts the video titles and links from a YouTube playlist (on your own account) and saves them to a Markdown-formated plain-text file.
- Extracts video titles and links from a YouTube playlist.
- Generates a list of Markdown links formated as:
[page_title | channel_name on YouTube](page_URL "tags, add_date:YYYY-MM-DDTHH:MM:SS")
, withadd_date
as the date the Markdown link list was generated. - Downloads the results to a text file with the playlist name and the extension
.md
.
- Copy the JavaScript code in the
yt-plst-to-md.min.js
file. - Create a new bookmark in your browser and give it a name (e.g. "Save YT Playlist to MD").
- Replace the bookmark's URL with the JavaScript code you copied in step 1.
- Save the bookmark.
To use this bookmarklet, follow these steps:
- On your own YouTube account, browse to the playlist edit page from which you want to extract the video titles and links.
- Browse to
https://www.youtube.com/feed/library
- Scroll down to the "Playlists" section
- Click "View full playlist" on playlist.
- Browse to
- Click the bookmark you just created to run the bookmarklet.
- A download will automatically start with a file named after playlist (e.g.,
My Playlist.md
). - Open the downloaded file using a Markdown editor or any text editor to view the list of video titles with clickable links.
Note: If no videos are found in the playlist, an alert will be displayed notifying you of the empty playlist.
Pull requests are welcome.
Copyright (c) 2023-present · Vasco Saint Basil Andrew Brown II · MIT License