I'm referring to a YT Playlist where each track is itself a YT link
- I think this is the most common type of playlist on YouTube.
By Track Details I mean Artist name and Song title as a minimum.
I'm not aware of any web page that will extract YT playlist track
details as a simple list that can be copied. If there is one, please
let me/us know.
This guide is for Windows 7+ devices.
Install yt-dlp.exe or (for 32-bit systems) yt-dlp_x86.exe from GitHub
https://github.com/yt-dlp/yt-dlp?tab=readme-ov-file#installation
place the .exe file in the directory you will be using to receive the
Track Details (eg C:\Users\<person name(s) or device name>)
All commands below are entered in that old DOS black dialog box
- in other words, at the Command prompt on your Windows device.
To later update this .exe, when YouTube changes how things work
internally on occasion, at the Command prompt go to the .exe's
directory/folder and simply enter:
yt-dlp -U
or
yt-dlp_x86 -U
Okay, to now get Track Details for a YouTube Playlist:
at the Command prompt go to the .exe's directory/folder and enter
as a continuous line of text (ie despite what you see below there are
no carriage returns before the end of the command); <a space> and
<playlist-id> are of course placeholders, not text to be typed as is:
yt-dlp {or yt-dlp_x86} -i -o<a space> "%(playlist_index)s#%(title)s#%(artist)s#%(uploader)s#%(id)s"<a space> --get-filename --skip-download<a space>
https://www.youtube.com/playlist?list=<playlist-id> > log.txt
an example <playlist-id> is (for It's Rock And Roll - 30 RAB tracks): OLAK5uy_nW3ch0pwi02uwDMi2Lm8uH5Lax9RZTW-U
(from
https://www.youtube.com/watch?v=5PqU5jIyyPc&list=OLAK5uy_nW3ch0pwi02uwDMi2Lm8uH5Lax9RZTW-U&index=1
)
using this <playlist-id> the yt-dlp command's output is currently:
WARNING: [youtube:tab] YouTube said: INFO - 1 unavailable video is
hidden
ERROR: [youtube] eaSVlFfYQYM: Video unavailable. This video is no
longer available due to a copyright claim by Pen Music Group
To see track details when command finishes, enter at command prompt:
type log.txt
{displayed will be:}
01#It's Rock and Roll#Jack Winston#Jack Winston - Topic#5PqU5jIyyPc
02#Rock the Joint#Rocky Rhule#Release - Topic#sysEfGXtU6w
03#Pretty Baby#Jimmy Thurman#Jimmy Thurman - Topic#3LMw-gmza5Y
04#Hot Hot Mama#Jimmy Strayton#Release - Topic#lGqebVQcgv4
05#Hep Cat#Larry Terry#Larry Terry - Topic#t-e8N2JF4Zc
...
You can then copy and paste this list to a text editor or spreadsheet
(or open log.txt in that editor/spreadsheet).
In a text editor you can *manually* remove extraneous data and
tidy up the track list appearance to your satisfaction, OR, you can
use *spreadsheet functions* to extract and format, OR, in a text
editor with *regular expression* functionality (like Notepad++) you
can simply use this command (like I do):
Find what: (.*)#(.*)#(.*)#(.*)
Replace with: $1. $3 - $2
which will output:
01. Jack Winston - It's Rock and Roll
02. Rocky Rhule - Rock the Joint
03. Jimmy Thurman - Pretty Baby
04. Jimmy Strayton - Hot Hot Mama
05. Larry Terry - Hep Cat
...
Or, to go further:
Find what: (.*)#(.*)#(.*)#(.*)-(.*)#(.*)
Replace with: $1. $3 - $2\r\n
https://www.youtube.com/watch?v=$6\r\n
01. Jack Winston - It's Rock and Roll
https://www.youtube.com/watch?v=5PqU5jIyyPc
02. Rocky Rhule - Rock the Joint
https://www.youtube.com/watch?v=sysEfGXtU6w
03. Jimmy Thurman - Pretty Baby
https://www.youtube.com/watch?v=3LMw-gmza5Y
04. Jimmy Strayton - Hot Hot Mama
https://www.youtube.com/watch?v=lGqebVQcgv4
05. Larry Terry - Hep Cat
https://www.youtube.com/watch?v=t-e8N2JF4Zc
...
this would enable me to manually delete any unwanted tracks
and then run a macro within Notepad++ to create a new shorter
playlist from the remaining links
========================================
Note: playlist_index, title, artist, uploader, id, playlist_id are 6
"fields"; other fields available include upload_date (YYYYMMDD),
duration (seconds), duration_string (hh:mm:ss), view_count,
comment_count, availability ("private", "premium_only",
"subscriber_only", "needs_auth", "unlisted" or "public"),
playlist_title, playlist_count, playlist_uploader
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)