Rhythm-Bot icon indicating copy to clipboard operation
Rhythm-Bot copied to clipboard

Age-restricted tracks returns 410

Open madsvcarlsen opened this issue 3 years ago • 1 comments

Any songs that requires the 18+ age verification (being logged in), will cause an error message of 410 Gone.

A suggestion could be to add a feature to add YouTube credentials, or for a quick fix, improve the error message. It will show in search results - and when adding it will say 'Error adding track: Error: Status code: 410'

madsvcarlsen avatar Nov 01 '21 23:11 madsvcarlsen

Might be possible, it looks like ytdl-core doesn't have login options but it does have a cookieCache. So it'd have to authenticate first grab the cookie and send it off to ytdl-core. Might need some experimentation.

Malexion avatar Nov 02 '21 13:11 Malexion