miraclx / freyr-js

A tool for downloading songs from music streaming services like Spotify and Apple Music.
https://git.io/freyr-js
Apache License 2.0
1.62k stars 103 forks source link

"Sign in to confirm your age..." error from YouTube Music #707

Open organizedslop opened 3 months ago

organizedslop commented 3 months ago

When attempting to execute: freyr https://open.spotify.com/album/4NpepcKo9rQ8nkdCB6iWMP I'm consistently getting the following error: (failed: [ERROR: [youtube] 9ThoDPP44Hw: Sign in to confirm your age. This video may be inappropriate for some users.]) for one track on the album, which has an explicit word in the title.

organizedslop commented 3 months ago

So I figured I'd give it another try, and it worked for the track it was failing on earlier. Nothing about my environment has changed.

p0lygun commented 2 months ago

i am facing this too

miraclx commented 1 week ago

So I figured I'd give it another try, and it worked for the track it was failing on earlier. Nothing about my environment has changed.

Good to hear it worked, this is within the scope of (YouTube <-> YouTube DL), so there's not much we can do on our end.

I'd expect it to be flakey as youtube works to combat bots and youtube-dl matching to subvert that. So, sometimes it won't work. And other times, it'll work flawlessly..

As mentioned in https://github.com/miraclx/freyr-js/issues/717#issuecomment-2482141359, we could allow you "login to youtube" but I'm hesitant to explore that for the reasons mentioned.