I have been looking around for a few days but I have not found a reliable way to download Twitch VODs from the API. Simply because I think it’s not supported.
During my digging I have found alternative ways to achieve it, using the same method as the “TwitchLeecher” app (that uses “usher” and old Twitch API calls).
So my questions are:
Has anyone successfully achieved downloading VODs?
Is there some hidden old (but still supported for years to come) Twitch API to do it?
If not, is anyone familiar with the method used by “TwitchLeecher”? Can I consider it as a viable option to develop a tool that needs to download VODs?
I would appreciate any insights (and not just a “This is not supported” answer).
TwitchLeecher, and similar apps, violate the Twitch Developer Agreement, and are at risk of legal action being taken against them, some of which have already been shut down. I’m not a legal expert and can’t give out legal advice, so I strongly suggest you consult a legal professional if you wish to develop tools that violate legal agreements.
Obviously I do not wish to violate any agreement at all.
The initial idea was to develop a cool tool that would allow streamers to easily upload their videos to Youtube and make some simple video edition (like split in sections of 30 minutes, add to Youtube playlists, …).
I guess it’s not possible at all then, which ends my (short) life as a developer on the Twitch API (unless I get some other ideas in the future).
Thanks for the link. Although it seems to intend to allow downloading Clips, where my “project” was more about VODs (unless I missed something there).
From my tests, when uploading a VOD from my own Twitch channel to Youtube, I can only directly upload and not split the video into segments from the Twitch UI. But maybe it’s because my VOD is only 3 minutes duration?
Anyway, that was only a small portion of my ideas for the “project”.
On the top of my head:
Allow adding an appropriate thumbnail for the VODs on Youtube
Allow uploading a bunch of VODs related to the same game in a “one shot”, creating a playlist at the same time
Automate the upload (to some extent / based on rules / ?). (But maybe Twitch would not allow that kind of automation since it ‘leaks’ the content out of their platform).
Side note: I’m a huge fan of your work by the way man, as a long time viewer of the CohhCarnage channel.
Some of the features you have are really impressive (the pixel detection for cut scenes, to mention one among others).
Good point, thats my pre coffee can’t read talking
Probably need a separate uservoice for doing that via the API. (There probably already is one, I just don’t have it’s link to hand)
Since right now it’s a manual task if you are an editor. (It’s not always a good idea to chop automatically in case you end up slicing a cutscene in half or something)
probably yes. I believe what usually happens is a editor will make the vod be split into as many highlights as needed of the required length and upload those to YouTube from Twitch via the inbuilt connection.
That’s youtube API
YouTube API too
Basically you just need the ability to get the VOD from Twitch (automagically) then you can do what you want since most of what you describe is YouTube API not Twitch API.