Open thegreatestminer opened 4 years ago
Okay, another thing I found out. Some VODs allow you to download the m3u8, but actually attemping to download the .ts fragments give a 403 error.
Hmm I've noticed that as well, I added the first disclaimer and I'm trying to figure out what to do about the second.
I'm not sure this is true. Here is an old vod from rajjpatel (channel is now called AustinShow)
The vod is from 2018 (see TwitchTracker) https://vod-metro.twitch.tv/6fdf9c94a6d98247f0ff_rajjpatel_28227671120_832899609/chunked/index-dvr.m3u8
what differs from newer vods is the last part of the string in the URL
where newer vods have the timestamp of the start time in epoch time, older vods seem to use something else
in the example above it is 832899609
which isn't an epoch timestamp, as this would be Friday, 24. May 1996 01:00:09
also, some vods appear to be only available via its cdn url for example, the following deleted vod is available via its cdn url, but not via vod-secure.twitch.tv or alternatives
twitch.tv urls don't work https://vod-metro.twitch.tv/aa9d7519d89b6c3d9f2d_montanablack88_39824894284_1604081172/chunked/index-dvr.m3u8 https://vod-secure.twitch.tv/aa9d7519d89b6c3d9f2d_montanablack88_39824894284_1604081172/chunked/index-dvr.m3u8
just a heads up, I used this website to experiment with deleted vods, maybe this helps in finding a solution https://twitcharchives.com/deleted-vods
where newer vods have the timestamp of the start time in epoch time, older vods seem to use something else in the example above it is
832899609
which isn't an epoch timestamp, as this would beFriday, 24. May 1996 01:00:09
I also noticed a similar problem: 204563bdccaa62d50480_dansgaming_25402887664_656350971 is a very old VOD of dansgaming and the last part is obviously not a timestamp. I think the timestamped links only work for 59 days and the ones with a different number at the end don't expire. i.e. https://vod-secure.twitch.tv/eb27f18fc4ceae09cb48_lirik_39680868046_1600099565/chunked/index-dvr.m3u8 is 59 days old and works, but https://vod-secure.twitch.tv/ae1382dfc31828b2ad4c_lirik_2639562801_1600012966/chunked/index-dvr.m3u8 is 60 days old and doesn't.
Also does the hash in front of the cdn matter? Like in your example d2e2de1etea730.
I'm finding vods that I want and all are older than 60 days and some work some don't. I can't find any from one channel and almost all of them work from other channel. I'm using VLC to preview it, but from those that I find, it seems to not load some of them, one was 27h and it load just fine, only if you skip first 5 minutes, others does the same, it shows how long the whole vid is, but even when I try to skip it just won't load it. Not sure what's the problem..
Any idea where the old VOD URL suffixes (when it isn't the timestamp) are coming from or how to derive them?
hello everyone, any news on that? I tried to download some old vods (3 months) with vodsecure and cloudfront and failed to. Also, twitch archives deleted page has been removed...
Assuming the streamer is partnered, of course.