emresenyuva / youtube-music-api

Node.js Unoffical Youtube Music API
MIT License
117 stars 48 forks source link

How to get playlist/album by OLAK playlist Id #1

Open wilsonpage opened 4 years ago

wilsonpage commented 4 years ago

I've noticed that most of the public URLs for albums on YTM are of the type: https://music.youtube.com/playlist?list=OLAK5uy_mSV5pwwlGTMxNiX7MOkRj5eaYvkXXeTJg

As opposed to their /browse/ equivalent: https://music.youtube.com/browse/MPREb_l82nzciIrWt

Do you know if there's a way to either:

Thanks for your help :)

devnullsans commented 3 years ago

Well option B is easy, I've noticed that when you hit browseId you'll be automatically redirect you to playlistId url.

I'm not sure about vice versa process, if you could share some details about how did you acquired the browseId link I'll try to find more on it. 🙂