ArneVogel/concat

No available quality options found for certain recent vods, thus unable to download them

Opened this issue · 3 comments

On Windows 7 64-bit, I tried to download parts of at least 2 VODs that were only 1 and 2 months old. Neither of them worked, and both times I got this message:

Couldn't find quality: chunked
No available quality options found

This is odd because I've downloaded some older vods before when they were reuploaded as highlights.

Is this an issue with Twitch itself or something that can be done by concat? Is there any way to work around this other than ensuring I try to download the vod earlier?

keyle commented

I got this issue too on mac...

./concat_mac -client-id [snip] -vod 548577171 -qualityinfo
Contacting Twitch Server
resolution: 720p60, download with -quality="chunked"
./concat_mac -client-id [snip] -vod 548577171 -quality="chunked"
Contacting Twitch Server
Couldn't find quality: chunked
No available quality options found

same without chunked.

The error messages could be a lot more granular in the accessUsherAPI function since it does return various error messages if something is wrong:

In case of the VOD from @keyle which currently doesn't exist anymore:

Usher API response:
[{"url":"/vod/548577171?nauthsig=redactedu0026nauth={"authorization":{"forbidden":false,"reason":""},
"chansub":"restricted_bitrates":null},
"device_id":null,"expires":4677266623,"https_required":false,"privileged":false,"user_id":null,"version":2,"vod_id":548577171}u0026allow_source=true",
"error":"404: {"error":"Vod with ID 548577171 not found","message":"Vod with ID 548577171 not found","status":404}","error_code":"vod_does_not_exist","type":"error"}]

Or for the 'subscriber only' VOD I should be able to download with my personal client-id

Usher API response:
[{"url":"/vod/588209971?nauthsig=redactedu0026nauth={"authorization":{"forbidden":false,"reason":""},
"chansub":{"restricted_bitrates":["160p30","360p30","480p30","720p60","audio_only","chunked"]},
"device_id":null,"expires":1587068598,"https_required":false,"privileged":false,"user_id":null,"version":2,"vod_id":588209971}u0026allow_source=true",
"error":"Manifest is restricted","error_code":"vod_manifest_restricted","type":"error"}]
keyle commented

The vod existed at the time.