• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 02:35
CEST 08:35
KST 15:35
  • 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
RSL Season 1 - Final Week6[ASL19] Finals Recap: Standing Tall12HomeStory Cup 27 - Info & Preview18Classic wins Code S Season 2 (2025)16Code S RO4 & Finals Preview: herO, Rogue, Classic, GuMiho0
Community News
Team TLMC #5 - Submission extension1Firefly given lifetime ban by ESIC following match-fixing investigation17$25,000 Streamerzone StarCraft Pro Series announced7Weekly Cups (June 30 - July 6): Classic Doubles7[BSL20] Non-Korean Championship 4x BSL + 4x China11
StarCraft 2
General
TL Team Map Contest #5: Presented by Monster Energy Team TLMC #5 - Submission extension RSL Revival patreon money discussion thread The GOAT ranking of GOAT rankings Weekly Cups (June 30 - July 6): Classic Doubles
Tourneys
$5,100+ SEL Season 2 Championship (SC: Evo) WardiTV Mondays RSL: Revival, a new crowdfunded tournament series Sparkling Tuna Cup - Weekly Open Tournament FEL Cracov 2025 (July 27) - $8000 live event
Strategy
How did i lose this ZvP, whats the proper response Simple Questions Simple Answers
Custom Maps
External Content
Mutation # 482 Wheel of Misfortune Mutation # 481 Fear and Lava Mutation # 480 Moths to the Flame Mutation # 479 Worn Out Welcome
Brood War
General
A cwal.gg Extension - Easily keep track of anyone Flash Announces Hiatus From ASL [Guide] MyStarcraft BW General Discussion [ASL19] Finals Recap: Standing Tall
Tourneys
[BSL20] Non-Korean Championship 4x BSL + 4x China [Megathread] Daily Proleagues 2025 ACS Season 2 Qualifier Small VOD Thread 2.0
Strategy
Simple Questions, Simple Answers I am doing this better than progamers do.
Other Games
General Games
Nintendo Switch Thread Stormgate/Frost Giant Megathread Path of Exile CCLP - Command & Conquer League Project The PlayStation 5
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
Russo-Ukrainian War Thread US Politics Mega-thread Summer Games Done Quick 2025! Things Aren’t Peaceful in Palestine The Accidental Video Game Porn Archive
Fan Clubs
SKT1 Classic Fan Club! Maru Fan Club
Media & Entertainment
Movie Discussion! [Manga] One Piece Anime Discussion Thread [\m/] Heavy Metal Thread
Sports
2024 - 2025 Football Thread Formula 1 Discussion NBA General Discussion TeamLiquid Health and Fitness Initiative For 2023 NHL Playoffs 2024
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List
Blogs
Men Take Risks, Women Win Ga…
TrAiDoS
momentary artworks from des…
tankgirl
from making sc maps to makin…
Husyelt
StarCraft improvement
iopq
Trip to the Zoo
micronesia
Customize Sidebar...

Website Feedback

Closed Threads



Active: 484 users

Twitch VOD downloader + highlight finder

Blogs > motbob
Post a Reply
1 2 Next All
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 States18825 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
1 2 Next All
Please log in or register to reply.
Live Events Refresh
Next event in 4h 25m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
Nina 253
StarCraft: Brood War
Free 635
PianO 568
Leta 179
Dewaltoss 57
Shine 25
Noble 19
Bale 9
Dota 2
monkeys_forever722
League of Legends
JimRising 734
Counter-Strike
Stewie2K1219
Super Smash Bros
hungrybox563
Mew2King37
Westballz19
Heroes of the Storm
Khaldor110
Other Games
summit1g12728
shahzam744
ViBE239
NeuroSwarm65
SortOf28
Organizations
Other Games
gamesdonequick4673
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 14 non-featured ]
StarCraft 2
• Berry_CruncH368
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• lizZardDota289
League of Legends
• Rush2678
• HappyZerGling76
Upcoming Events
Wardi Open
4h 25m
Replay Cast
1d 3h
WardiTV European League
1d 9h
ShoWTimE vs sebesdes
Percival vs NightPhoenix
Shameless vs Nicoract
Krystianer vs Scarlett
ByuN vs uThermal
Harstem vs HeRoMaRinE
PiGosaur Monday
1d 17h
uThermal 2v2 Circuit
2 days
Replay Cast
2 days
The PondCast
3 days
Replay Cast
3 days
Epic.LAN
4 days
CranKy Ducklings
5 days
[ Show More ]
Epic.LAN
5 days
BSL20 Non-Korean Champi…
5 days
Bonyth vs Sziky
Dewalt vs Hawk
Hawk vs QiaoGege
Sziky vs Dewalt
Mihu vs Bonyth
Zhanhun vs QiaoGege
QiaoGege vs Fengzi
Sparkling Tuna Cup
6 days
Online Event
6 days
BSL20 Non-Korean Champi…
6 days
Bonyth vs Zhanhun
Dewalt vs Mihu
Hawk vs Sziky
Sziky vs QiaoGege
Mihu vs Hawk
Zhanhun vs Dewalt
Fengzi vs Bonyth
Liquipedia Results

Completed

2025 ACS Season 2: Qualifier
RSL Revival: Season 1
Murky Cup #2

Ongoing

JPL Season 2
BSL 2v2 Season 3
Copa Latinoamericana 4
Jiahua Invitational
BSL20 Non-Korean Championship
Championship of Russia 2025
BLAST.tv Austin Major 2025
ESL Impact League Season 7
IEM Dallas 2025
PGL Astana 2025
Asian Champions League '25
BLAST Rivals Spring 2025
MESA Nomadic Masters

Upcoming

CSL Xiamen Invitational
CSL Xiamen Invitational: ShowMatche
2025 ACS Season 2
CSLPRO Last Chance 2025
CSLPRO Chat StarLAN 3
BSL Season 21
K-Championship
RSL Revival: Season 2
SEL Season 2 Championship
uThermal 2v2 Main Event
FEL Cracov 2025
Esports World Cup 2025
Underdog Cup #2
StarSeries Fall 2025
FISSURE Playground #2
BLAST Open Fall 2025
BLAST Open Fall Qual
Esports World Cup 2025
BLAST Bounty Fall 2025
BLAST Bounty Fall Qual
IEM Cologne 2025
FISSURE Playground #1
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.