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.
[curiositystream] Downloading entirely broken due to API changes #26845
Comments
|
your link https://curiositystream.com/video/3818 works ok for me |
|
If you do that without providing a username/password you'll get only a sample video. Attempting to download it with a username and password will give the original error I posted. |
|
have you tried using the cookies option ?? |
|
It's not a authentication problem as far as I can see. I've downloaded the source code and get the correct API responses and can even get it to download by making some modifications however it appears they've made some changes to their API that means there are now mpds(when the file to download is a .mov), a V1 and V2 api and when downloading collections sometimes those collections have collections inside them. |
Checklist
Verbose log
Description
From what I can see the API now returns a url to a MPD file instead of m3u8. There is also a V2 API that is required for accessing collections. At present accessing a url such as https://app.curiositystream.com/collections/2 via the V1 api actually refers to an entirely different set of videos.
There also appears to be a few extra headers that are required to have the API return the correct data when doing the extraction.
I've been able to make changes to a local copy of youtube-dl to fix it however I'm not 100% sure on how to structure the changes to allow access to both the V1 and V2 apis.
Happy to provide any other information about what is required to get this to work.