• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 16:22
CEST 22:22
KST 05:22
  • Home
  • Forum
  • Calendar
  • Streams
  • Liquipedia
  • Features
  • Store
  • EPT
  • TL+
  • StarCraft 2
  • Brood War
  • Smash
  • Heroes
  • Counter-Strike
  • Overwatch
  • Liquibet
  • Fantasy StarCraft
  • TLPD
  • StarCraft 2
  • Brood War
  • Blogs
Forum Sidebar
Events/Features
News
Featured News
Maestros of the Game: Week 1/Play-in Preview1[ASL20] Ro24 Preview Pt2: Take-Off7[ASL20] Ro24 Preview Pt1: Runway132v2 & SC: Evo Complete: Weekend Double Feature4Team Liquid Map Contest #21 - Presented by Monster Energy9
Community News
Weekly Cups (Aug 18-24): herO dethrones MaxPax6Maestros of The Game—$20k event w/ live finals in Paris34Weekly Cups (Aug 11-17): MaxPax triples again!13Weekly Cups (Aug 4-10): MaxPax wins a triple6SC2's Safe House 2 - October 18 & 195
StarCraft 2
General
Maestros of the Game: Week 1/Play-in Preview BoxeR's Wings Episode 2 - Fan Translation Greatest Players of All Time: 2025 Update A Eulogy for the Six Pool #1: Maru - Greatest Players of All Time
Tourneys
LiuLi Cup - August 2025 Tournaments $5,000 WardiTV Summer Championship 2025 Maestros of The Game—$20k event w/ live finals in Paris $5,100+ SEL Season 2 Championship (SC: Evo) Esports World Cup 2025
Strategy
Custom Maps
External Content
Mutation # 488 What Goes Around Mutation # 487 Think Fast Mutation # 486 Watch the Skies Mutation # 485 Death from Below
Brood War
General
Post ASL20 Ro24 discussion. BW General Discussion No Rain in ASL20? BGH Auto Balance -> http://bghmmr.eu/ Recent recommended BW games
Tourneys
[ASL20] Ro24 Group F [ASL20] Ro24 Group E [IPSL] CSLAN Review and CSLPRO Reimagined! [ASL20] Ro24 Group D
Strategy
Muta micro map competition Simple Questions, Simple Answers Fighting Spirit mining rates [G] Mineral Boosting
Other Games
General Games
Mechabellum Stormgate/Frost Giant Megathread Nintendo Switch Thread General RTS Discussion Thread Dawn of War IV
Dota 2
Official 'what is Dota anymore' discussion
League of Legends
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Heroes of StarCraft mini-set
TL Mafia
TL Mafia Community Thread Vanilla Mini Mafia
Community
General
US Politics Mega-thread Things Aren’t Peaceful in Palestine Canadian Politics Mega-thread Russo-Ukrainian War Thread The year 2050
Fan Clubs
INnoVation Fan Club SKT1 Classic Fan Club!
Media & Entertainment
Anime Discussion Thread Movie Discussion! [Manga] One Piece [\m/] Heavy Metal Thread
Sports
2024 - 2026 Football Thread Formula 1 Discussion TeamLiquid Health and Fitness Initiative For 2023
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread High temperatures on bridge(s) Gtx660 graphics card replacement
TL Community
The Automated Ban List TeamLiquid Team Shirt On Sale
Blogs
Lemme tell you a thing o…
JoinTheRain
How Culture and Conflict Imp…
TrAiDoS
RTS Design in Hypercoven
a11
Evil Gacha Games and the…
ffswowsucks
INDEPENDIENTE LA CTM
XenOsky
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1530 users

Twitch VOD downloader + highlight finder

Blogs > motbob
Post a Reply
Normal
motbob
Profile Blog Joined July 2008
United States12546 Posts
Last Edited: 2017-03-06 21:46:04
February 08 2016 20:50 GMT
#1
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.

*****
ModeratorGood content always wins.
Aylear
Profile Blog Joined May 2009
Norway3988 Posts
February 08 2016 22:30 GMT
#2
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.
TL+ Member
munch
Profile Joined July 2014
Mute City2363 Posts
February 08 2016 23:17 GMT
#3
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
WriterForm is temporary, MMA is permanent || http://www.teamliquid.net/blogs/508630-article-archive
EJK
Profile Blog Joined September 2013
United States1302 Posts
February 09 2016 09:42 GMT
#4
i am big noob and need .exe file xd
Sc2 Terran Coach, top 16GM NA - interested in coaching? Message me on teamliquid!
amazingxkcd
Profile Blog Joined September 2010
GRAND OLD AMERICA16375 Posts
February 09 2016 16:07 GMT
#5
is it possible to download vods that are behind subscriber paywalls? (i want to download arteezy vods to watch them)
The world is burning and you rather be on this terrible website discussing video games and your shallow feelings
FFW_Rude
Profile Blog Joined November 2010
France10201 Posts
Last Edited: 2016-02-09 17:15:24
February 09 2016 17:14 GMT
#6
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).
#1 KT Rolster fanboy. KT BEST KT ! Hail to KT playoffs Zergs ! Unofficial french translator for SlayerS_`Boxer` biography "Crazy as me".
motbob
Profile Blog Joined July 2008
United States12546 Posts
February 09 2016 17:36 GMT
#7
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.
ModeratorGood content always wins.
FFGenerations
Profile Blog Joined April 2011
7088 Posts
Last Edited: 2016-02-09 21:03:21
February 09 2016 20:55 GMT
#8
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
Cool BW Music Vid - youtube.com/watch?v=W54nlqJ-Nx8 ~~~~~ ᕤ OYSTERS ᕤ CLAMS ᕤ AND ᕤ CUCKOLDS ᕤ ~~~~~~ ༼ ᕤ◕◡◕ ༽ᕤ PUNCH HIM ༼ ᕤ◕◡◕ ༽ᕤ
Geisterkarle
Profile Blog Joined September 2008
Germany3257 Posts
February 09 2016 21:29 GMT
#9
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!
There can only be one Geisterkarle
motbob
Profile Blog Joined July 2008
United States12546 Posts
Last Edited: 2016-02-09 21:42:10
February 09 2016 21:34 GMT
#10
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.
ModeratorGood content always wins.
Talaris
Profile Joined March 2011
Switzerland753 Posts
February 09 2016 21:38 GMT
#11
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
-= Jaedong // HerO // HasuObs // Unholy Alliance =-
FFGenerations
Profile Blog Joined April 2011
7088 Posts
Last Edited: 2016-02-09 22:01:14
February 09 2016 21:59 GMT
#12
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
Cool BW Music Vid - youtube.com/watch?v=W54nlqJ-Nx8 ~~~~~ ᕤ OYSTERS ᕤ CLAMS ᕤ AND ᕤ CUCKOLDS ᕤ ~~~~~~ ༼ ᕤ◕◡◕ ༽ᕤ PUNCH HIM ༼ ᕤ◕◡◕ ༽ᕤ
SC2Toastie
Profile Blog Joined October 2013
Netherlands5725 Posts
February 09 2016 22:02 GMT
#13
I've been looking for software to download whole videos for ages and you're saying it is readily accessible?!

T_T
Mura Ma Man, Dark Da Dude, Super Shot Sos!
motbob
Profile Blog Joined July 2008
United States12546 Posts
February 09 2016 22:10 GMT
#14
If you're looking for software that downloads whole files, the UNDISPUTED king is jdownloader.
ModeratorGood content always wins.
farvacola
Profile Blog Joined January 2011
United States18831 Posts
February 10 2016 02:33 GMT
#15
Hai botmob, nice tips
"when the Dead Kennedys found out they had skinhead fans, they literally wrote a song titled 'Nazi Punks Fuck Off'"
Bojas
Profile Joined December 2010
Netherlands2397 Posts
February 10 2016 09:55 GMT
#16
Neat, I was looking for this a while ago. Thanks!
Geisterkarle
Profile Blog Joined September 2008
Germany3257 Posts
February 10 2016 19:51 GMT
#17
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!
There can only be one Geisterkarle
dani`
Profile Joined January 2011
Netherlands2402 Posts
Last Edited: 2016-02-10 22:09:00
February 10 2016 21:58 GMT
#18
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).
rebdomine
Profile Blog Joined October 2010
6040 Posts
February 16 2016 06:50 GMT
#19
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
"Just because you are correct doesn't mean you are right!"
]343[
Profile Blog Joined May 2008
United States10328 Posts
February 16 2016 23:54 GMT
#20
oo cute, i'll try this out when i get home
Writer
FreeGrabApp
Profile Joined July 2016
1 Post
Last Edited: 2016-07-29 10:40:41
July 19 2016 15:39 GMT
#21
---NUKED---
MattMikhael
Profile Joined October 2016
1 Post
October 04 2016 16:41 GMT
#22
I'm looking for a certain moment when someone typed in chat and I know the username of the person, I've downloaded just the chat from the video and have it as a .cvs file. Would it be possible to open it as a readable text file to find that username? Sorry if i'm being dumb
Spazer
Profile Blog Joined March 2009
Canada8031 Posts
October 04 2016 17:28 GMT
#23
On October 05 2016 01:41 MattMikhael wrote:
I'm looking for a certain moment when someone typed in chat and I know the username of the person, I've downloaded just the chat from the video and have it as a .cvs file. Would it be possible to open it as a readable text file to find that username? Sorry if i'm being dumb

A csv is stored as plain text, so yes. Just open it with notepad or something.
Liquipedia
motbob
Profile Blog Joined July 2008
United States12546 Posts
October 05 2016 02:38 GMT
#24
While a .csv is a plain text file, the csvs my program generates do not generate the type of data that Matt is looking for.
ModeratorGood content always wins.
genesis11
Profile Joined February 2024
1 Post
February 27 2024 16:35 GMT
#25
YouTube, you can stream in YouTube and it will save your stream. You can edit it on their platform or download the stream. You can set it to private if you don’t want anyone to see it. https://zetwitch.com
Normal
Please log in or register to reply.
Live Events Refresh
Next event in 2h 9m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
Livibee 95
JuggernautJason89
EmSc Tv 22
StarCraft: Brood War
Britney 19975
Calm 2442
EffOrt 133
Dewaltoss 67
Movie 49
ZZZero.O 10
NaDa 6
Dota 2
capcasts72
Counter-Strike
Stewie2K380
Foxcn171
Super Smash Bros
Chillindude23
Heroes of the Storm
Liquid`Hasu351
Other Games
gofns9071
Grubby2335
fl0m2276
FrodaN2002
RotterdaM672
KnowMe414
Sick328
C9.Mang0130
Trikslyr64
Mew2King43
ViBE26
OptimusSC27
ProTech4
Organizations
Other Games
gamesdonequick975
StarCraft 2
EmSc Tv 22
EmSc2Tv 22
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 21 non-featured ]
StarCraft 2
• LUISG 20
• davetesta14
• StrangeGG 8
• Kozan
• sooper7s
• Migwel
• AfreecaTV YouTube
• LaughNgamezSOOP
• intothetv
• IndyKCrew
StarCraft: Brood War
• FirePhoenix2
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
Dota 2
• masondota2893
League of Legends
• Doublelift1577
• TFBlade914
Counter-Strike
• imaqtpie872
• Shiphtur178
Other Games
• Scarra714
• WagamamaTV278
Upcoming Events
Code For Giants Cup
2h 9m
SC Evo League
15h 39m
TaeJa vs Cure
Rogue vs threepoint
ByuN vs Creator
MaNa vs Classic
Maestros of the Game
19h 39m
ShoWTimE vs Cham
GuMiho vs Ryung
Zoun vs Spirit
Rogue vs MaNa
[BSL 2025] Weekly
21h 39m
SC Evo League
1d 15h
Maestros of the Game
1d 19h
SHIN vs Creator
Astrea vs Lambo
Bunny vs SKillous
HeRoMaRinE vs TriGGeR
BSL Team Wars
1d 22h
Team Bonyth vs Team Sziky
BSL Team Wars
1d 22h
Team Dewalt vs Team Sziky
Monday Night Weeklies
2 days
Replay Cast
3 days
[ Show More ]
Sparkling Tuna Cup
3 days
PiGosaur Monday
4 days
LiuLi Cup
4 days
Replay Cast
5 days
The PondCast
5 days
RSL Revival
5 days
Maru vs SHIN
MaNa vs MaxPax
RSL Revival
6 days
Reynor vs Astrea
Classic vs sOs
BSL Team Wars
6 days
Team Bonyth vs Team Dewalt
Liquipedia Results

Completed

CSL Season 18: Qualifier 1
WardiTV Summer 2025
HCC Europe

Ongoing

Copa Latinoamericana 4
BSL 20 Team Wars
KCM Race Survival 2025 Season 3
BSL 21 Qualifiers
ASL Season 20
Acropolis #4 - TS1
CSL Season 18: Qualifier 2
SEL Season 2 Championship
BLAST Open Fall Qual
Esports World Cup 2025
BLAST Bounty Fall 2025
BLAST Bounty Fall Qual
IEM Cologne 2025
FISSURE Playground #1
BLAST.tv Austin Major 2025

Upcoming

CSL 2025 AUTUMN (S18)
LASL Season 20
BSL Season 21
BSL 21 Team A
Chzzk MurlocKing SC1 vs SC2 Cup #2
Maestros of the Game
EC S1
Sisters' Call Cup
Skyesports Masters 2025
IEM Chengdu 2025
PGL Masters Bucharest 2025
Thunderpick World Champ.
MESA Nomadic Masters Fall
CS Asia Championships 2025
ESL Pro League S22
StarSeries Fall 2025
FISSURE Playground #2
BLAST Open Fall 2025
TLPD

1. ByuN
2. TY
3. Dark
4. Solar
5. Stats
6. Nerchio
7. sOs
8. soO
9. INnoVation
10. Elazer
1. Rain
2. Flash
3. EffOrt
4. Last
5. Bisu
6. Soulkey
7. Mini
8. Sharp
Sidebar Settings...

Advertising | Privacy Policy | Terms Of Use | Contact Us

Original banner artwork: Jim Warren
The contents of this webpage are copyright © 2025 TLnet. All Rights Reserved.