Open raffaem opened 2 years ago
yt-dlp can't bypass paywalls. If you have access to the video, pass cookies (and show verbose log with it)
yt-dlp can't bypass paywalls. If you have access to the video, pass cookies (and show verbose log with it)
Fine, but then the error message should say to pass cookies to it, not to report it as a bug
- [X] I've checked that all provided URLs are alive and playable in a browser
then the error message should say to pass cookies to it, not to report it as a bug
It does not seem possible to differentiate (from the API) b/w actually being unable to extract formats and the video being private
It does not seem possible to differentiate (from the API) b/w actually being unable to extract formats and the video being private
I think the relevant information is contained in the value field of the access token:
{'value': '{"authorization":{"forbidden":false,"reason":""},"chansub":{"restricted_bitrates":["160p30","360p30","480p30","720p60","audio_only","chunked"]},"device_id":null,"expires":xxx,"https_required":true,"privileged":false,"user_id":null,"version":2,"vod_id":xxx}', 'signature': 'xxx'}
specifically this part
"chansub":{"restricted_bitrates":["160p30","360p30","480p30","720p60","audio_only","chunked"]}
I'm not sure if it's possible for only some bitrates to be restricted, so downloading the m3u8 still should be attempted in this case. But I think this information can be used to print a more helpful error message.
Checklist
Region
Italy
Description
The Twitch stream fails to download if it requires subscription.
The output says:
and doesn't allow me to insert login and password for the user who is subscribed to the channel.
Verbose log