Mixes are different from playlists in Youtube, with the main difference that they’re tailor-made for every user and will be different for each visitor, based on their previous watch history. This means that Youtube downloading tools can’t process mixes the same way that it does playlists, so the command will fail. The best way is to read the list of videos in the list available on the side and save it to a text file, which will then be passed as parameter to youtube-dl or yt-dlp.
Credits:
- Original source of the code was taken from github, but you don’t know when github decides to nuke stuff.
- Link to the mix featured in the screenshot.
- Cover image from this video (Alternosfera - Recviem Fără Refren)
Step 1: Open the mix in a browser that supports developers tools (Firefox, Opera, Chrome…)
It should look something like this:

Step 2: Hold CTRL + SHIFT + i (or F12, or Cmd + Shift + j) and click on the Console tab.
Step 3: Copy the code below and paste it in the console text input:
|
|
A file named youtube_list.txt will be downloaded, it contains the list of the videos in the youtube mix.
Step 4: Download the list videos using one of the following youtube-dl commands:
-
Download the playlist as mp3:
youtube-dl -a youtube_list -x --audio-format mp3
-
Download the videos with the best available quality:
youtube-dl -a youtube_list -f best
Alternatively, you can replace youtube-dl
with yt-dlp
if you have that installed. The parameters remain the same.