Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
viki.com: download fails with 401 unauthorized for some shows #26246
Comments
|
We are the same problem. |
Checklist
Verbose logs
Description
For a number of shows on viki.com, the API appears to return an unexpected Unauthorized 401. If I pass my login credentials, the error changes to a 404. I've pasted the verbose logs from both types of call for the show Three Days as an example.
The v4 REST API reports this show as having 92% subtitle completion in Korean. If I add
--ignore-errors, then subtitles are downloaded for the 2 first episodes, and the rest error out with 401 Unauthorized (or 404 not found, if I authorize).The metadata for the show doesn't say that it is restricted:
API v4 JSON response for Three Days
This is different from, say, I am not a Robot, which the API reports to have 100% subtitle completion in Korean, but then several episodes come back with the
subtitle_completionsentry completely missing for Korean. In that caseyoutube-dlgently reports: