I have tried using yt download but am not able to find any option for such a case.

So something like, a tool which allows YouTube login and then pull all the songs/video.

top 6 comments

sorted by: hot top controversial new old
[–] 29 points 1 year ago*

All your liked videos are at https://www.youtube.com/playlist?list=LL, and all your liked songs are at https://music.youtube.com/playlist?list=LM .

I would try using yt-dlp. First, download your cookies from YouTube into a file (e.g. youtubecookies.txt). I like the cookies.txt Firefox extension for downloading the cookies.

Then run:

yt-dlp --cookies youtubecookies.txt "https://music.youtube.com/playlist?list=LM"

There are a lot of options to yt-dlp, so you'll want to look into those.

  • source
  • [–] 6 points 1 year ago
    [–] 4 points 1 year ago

    if youre on android, seal might work on you.

  • source
  • [–] 4 points 1 year ago*

    Liked Videos and Liked Music are private playlists, they have a generic URL and you can only access them by being logged in. I have two methods to download Liked Videos:

    • Install a desktop app video downloader, most of them have the option to download an entire playlist.

    • They also have an option to add a cookies file so you can download private playlists, such as Liked Videos or Watch Later

    • Log in to YouTube in your browser

    • Export the cookies from the browser

    • Import them to the desktop app

    • Download Liked Videos

    That's what you're supposed to do, however i never got that to work. If it doesn't work, you can transfer all your liked videos from the private playlist to a public playlist. Here's what i do:

    • Create a new playlist called Downloads, and make it public; it now has its own specific URL, unlike the generic URL of Liked VIdeos

    • Install the YouTube Multiselect browser extention

    • Use Multiselect to select every video in Liked Videos and add it to Downloads

    • Use the desktop app to download the Downloads playlist

    This is how i download my private playlists like Watch Later or Liked Videos, i assume it also works for Liked Music

  • source
  • [–] 3 points 1 year ago

    Aren't the liked videos a playlist? I think you can pass a playlist to YouTube-dl and it download it. Maybe you're gonna need to pass credentials or the YouTube cookie for it.

  • source
  • [–] 1 point 1 year ago

    You gave me an idea, if I can automate this, I can manage the fuck I want the stuff. Any good library/managers for music, like jellyfin?

  • source