Extend Clips API to provide the MP4 url so editors can automate downloads
If I have an oAuth that represents a User, where the User is either
- the broadcaster the clip is of
- an editor of the channel that the clip is of
- the user is the owner of the clip
And I make a request for a Clip as documented: https://dev.twitch.tv/docs/api/reference#get-clips
(but with the bearer naturally)
The JSON Response should include the direct link to the MP4 or an ability to download the Clip.
This is off the back of the removal/deprecation of some undocumented API's that I was using to get the MP4 URL for automated download for creation of clip reels and similar.
A dedicated "Get Clips Download" API endpoint has been added as an open beta and is expected to be generally available (i.e. stable with no further changes) in two weeks. More details are available in the announcement: https://discuss.dev.twitch.com/t/get-clips-download-twitch-api-endpoint-now-available-in-open-beta/64334
-
masterkain
commented
I have the same issues, my old integration is not working anymore.
Can you please release the mp4 links for clips? -
m_o_o_
commented
ironically youtube-dl got removed from github due to the DMCA.
edit: and they're back -
n30sh4d0w
commented
Also there are alot of other fields in terms of clips that could be added to make sure clips obey DMCA.
-
FelkCraft
commented
As a workaround, you can use youtube-dl. Example command-line to download a clip:
> .\youtube-dl.exe https://www.twitch.tv/zfg1/clip/StylishTallYogurtYee
Or to just get the mp4 link, use the -g flag:
> .\youtube-dl.exe -g https://www.twitch.tv/zfg1/clip/StylishTallYogurtYee
https://clips-media-assets2.twitch.tv/AT-cm%7C607903957.mp4 -
Aku_inu
commented
To my recollection the clip manager page has always allowed to download clips you have made, but it is hidden a bit.
Click on clip
Click the shear button
Then among the social links there is download button -
BarryCarlyon
commented
The current Twitch UI doesn't allow "the user is the owner of the clip" to download a Clip. So I'm not bothered if this part of the request is ignore.
But the API should match the UI for what is allowed.