|
motbob
United States12546 Posts
Attention! Update 2017-01-01
https://github.com/Franiac/TwitchLeecher/releases
This program does most things my program used to do, but better. I am leaving this post up for people who use my program for the chat functionality. If you just want to download Twitch videos, I recommend that you follow the link above.
Old post:
I created a utility that allows you to download certain parts of Twitch VODs. As far as I can tell, this is the only utility in existence that allows you to do this. If there's a 9 hour VOD, every other utility* makes you download the whole VOD before it cuts out the part you want. What a hassle! This program lets you set start and end times.
http://www.mediafire.com/download/5x3mzlaah0ehm38/downloader.rar
The program also has a bonus feature: it checks Twitch chat logs and indicates where it thinks an exciting or funny moment occurred. This feature is probably only useful to a few people, and it is off by default.
Check the readme for more information.
This program is largely based off of someone else's python script (which I cannot find the source of right now, argh). That python script had the ability to download Twitch VODs, and I added the ability to specify a time and also to download/process the chat.
The VOD output should contain what you asked it to contain with a cushion of 8 seconds or so. If it doesn't do this, PLEASE PM ME.
*This is not true anymore, there's a great tool out there that does the same thing that mine does here.
EDIT 2/8/16: Upon further review, this utility is missing some crucial functionality, like being able to download from highlights instead of past broadcasts. I'll work on it.
EDIT 2/8/16: Highlight functionality is added. Next up: support for old VOD styles.
EDIT 2/8/16: Support for older VOD styles is added.
EDIT 3/15/16: Rechat is dead, so the chat function is currently broken. The VOD downloader function still works fine though.
EDIT 4/7/16: I fixed the chat functionality.
EDIT 7/18/16: Fixed to reflect Twitch's new VOD system. Also fixed some latent sync problems.
EDIT 9/18/16: Fixed to comply with Twitch's new API requirements.
EDIT 2/22/17: Fixed something... I can't remember... anyway it was broken but works now.
EDIT 3/5/17: Tweaked some chat log settings and fixed some bad behavior with floats/rounding.
|
I got a chance to talk to motbob about the utility and test it a little bit. It works well for what it is, being a very basic downloader and ffmpeg command utility. Nothing fancy, just a quality of life script for people who want to download highlights to make montages out of. Easy downloading and video/audio syncing of Twitch VODs.
Expanding the command line functionality (instead of having to edit a .bat file) would be a big improvement, and support for older VODs would be great if it can be done. Hope to see this expanded in the future because it's pretty useful.
|
Mute City2363 Posts
This is the one I'm using currently http://twitch.center/vodcutter It's a bit more fiddly though, and you have to join all the files together once done. I'll give this a go sometime
|
i am big noob and need .exe file xd
|
GRAND OLD AMERICA16375 Posts
is it possible to download vods that are behind subscriber paywalls? (i want to download arteezy vods to watch them)
|
rapidownload cut the twitch vods by 30 minutes i think.
If you are interested i think i still have a PHP script that would crawl a channel and order the vods by date so that you download from oldest to newest. It can crawl all the pages i think. (like if there's page 1,2,3 ect)...
If you are interested i'll search if i still have it. (and if it's still working).
I used that to get all the vods of WOL SPL when they were on twitch so by classing them in "download order" i would have them from Game1 to final.
If i can't find the script i can tell you how i did that, it's not complicated (but don't have time right now to explain).
|
motbob
United States12546 Posts
On February 10 2016 01:07 amazingxkcd wrote: is it possible to download vods that are behind subscriber paywalls? (i want to download arteezy vods to watch them) That won't ever be possible for people who aren't subscribed. But it might be possible to program that feature for people who are subscribed? If there's demand for that feature, I can try to get it done.
|
i don't know of a way to download youtube videos over 60 mins (ish) so there would be utility in being able to download lengthy subscriber shows from twitch that you can't rip from the youtube vods.
(personally i rip from youtube to put onto my mp3 player but the website i use doesn't let you do long videos.. stuff like JP/TBs long talk shows i wouldn't be able to get onto my mp3 via youtube afaik. there is probably a service to let you do it for a price somewhere tbh.)
i think the best case senario would be if JP just released an ep of Swan Song on twitch and i was just gonig on a long journey and needed (yes NEEDED!!) the ep of swan song to listen to via the twitch subscription before the youtube releases get staggered
|
I need GUI *duck*
@FFGenerations: Hm... I have a program to do yt-downloads. Have you an example for a long video you can't download? Would like to try!
|
motbob
United States12546 Posts
For people who want a GUI, can you explain what is so damn complicated about the readme's instructions?
EDIT: Actually, I can sort of understand why it would be confusing. I put a lot of irrelevant information at the beginning of the readme. It's updated now.
|
On February 10 2016 06:34 motbob wrote: For people who want a GUI, can you explain what is so damn complicated about the readme's instructions? I guess the "reading" part
|
On February 10 2016 06:29 Geisterkarle wrote:I need GUI *duck* @FFGenerations: Hm... I have a program to do yt-downloads. Have you an example for a long video you can't download? Would like to try!
i use http://convert2mp3.net/en/ OK i tested it again and it caps ONLY SOME file types to 90 minutes and still letting me download the 3 hour cooptional podcast as MP4, M4A or AAC !! i guess that's what happens when you only read the first line of a 2 line error message youtube.com/watch?v=NJMm1kaf-w0
|
I've been looking for software to download whole videos for ages and you're saying it is readily accessible?!
T_T
|
motbob
United States12546 Posts
If you're looking for software that downloads whole files, the UNDISPUTED king is jdownloader.
|
Hai botmob, nice tips
|
Neat, I was looking for this a while ago. Thanks!
|
On February 10 2016 06:34 motbob wrote: For people who want a GUI, can you explain what is so damn complicated about the readme's instructions?
EDIT: Actually, I can sort of understand why it would be confusing. I put a lot of irrelevant information at the beginning of the readme. It's updated now. Nothing is complicated. But I'm not representative; I'm a programmer and know how to use an editor But your edit is true and because I'm too lazy to download the new version: Just start with direct instructions. All text can follow!
|
On February 10 2016 02:36 motbob wrote:Show nested quote +On February 10 2016 01:07 amazingxkcd wrote: is it possible to download vods that are behind subscriber paywalls? (i want to download arteezy vods to watch them) That won't ever be possible for people who aren't subscribed. But it might be possible to program that feature for people who are subscribed? If there's demand for that feature, I can try to get it done. I remember in the past it was possible to download VODs behind paywalls (when they were still 30 minutes chunks), not anymore though now they switched to 1 or 2 minute chunks -- I think after being purchased by Amazon that change was implemented, but not 100% sure.
Anyway, I still use a (Ruby) script of my own to download Twitch VODs (separate chunks) and if you use their API to get the chunk URLs (http://usher.twitch.tv/vod/<VOD_ID>) you can also download subscriber VODs as long as you provide a valid access token, which you can obtain via https://api.twitch.tv/api/vods/<VOD_ID>/access_token?oauth_token=<OAUTH_TOKEN_HERE>. If you use usher.twitch.tv/vod you already needed to provide an access token anyway, so I suppose you already have most of it done. The only change would then be to add a valid OAuth token to get an access token for subscriber only VODs.
If you are logged into Twitch you'll see the OAuth token be requested at some point and returned, I just copy pasted it as a constant into my script, it does not seem to expire so I didn't bother to get it dynamically.
So just to be clear; you need a valid subscription to get the OAuth token so you can only download from channels you are subscribed to now.
~ Edit on obtaining OAuth:
1) Be logged in 2) Open developer console 3) Visit some page on Twitch 4) Look for the call to http://api.twitch.tv/api/me?on_site=1 5) Your OAuth token should be in the "chat_oauth_token" property of the response object (for me at least).
|
I was looking for something like this back in December.
I used the VOD cutter linked earlier back then instead and had to manually join the files together once done.
Looks like this is more promising though. :D
|
United States10328 Posts
oo cute, i'll try this out when i get home
|
|
|
|