• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 22:19
CEST 04:19
KST 11:19
  • 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
Code S RO12 Preview: GuMiho, Bunny, SHIN, ByuN3The Memories We Share - Facing the Final(?) GSL23Code S RO12 Preview: Cure, Zoun, Solar, Creator4[ASL19] Finals Preview: Daunting Task30[ASL19] Ro4 Recap : The Peak15
Community News
Weekly Cups (May 19-25): Hindsight is 20/20?0DreamHack Dallas 2025 - Official Replay Pack8[BSL20] RO20 Group Stage2EWC 2025 Regional Qualifiers (May 28-June 1)19Weekly Cups (May 12-18): Clem sweeps WardiTV May3
StarCraft 2
General
Karma, Domino Effect, and how it relates to SC2. The Memories We Share - Facing the Final(?) GSL How does the number of casters affect your enjoyment of esports? Code S RO12 Preview: GuMiho, Bunny, SHIN, ByuN Can anyone explain to me why u cant veto a matchup
Tourneys
EWC 2025 Regional Qualifiers (May 28-June 1) DreamHack Dallas 2025 Last Chance Qualifiers for OlimoLeague 2024 Winter [GSL 2025] Code S:Season 2 - RO12 - Group B [GSL 2025] Code S:Season 2 - RO12 - Group A
Strategy
Simple Questions Simple Answers [G] PvT Cheese: 13 Gate Proxy Robo
Custom Maps
[UMS] Zillion Zerglings
External Content
Mutation # 475 Hard Target Mutation # 474 Futile Resistance Mutation # 473 Cold is the Void Mutation # 472 Dead Heat
Brood War
General
Will foreigners ever be able to challenge Koreans? Battle.net is not working BW General Discussion Which player typ excels at which race or match up? Practice Partners (Official)
Tourneys
[ASL19] Grand Finals [BSL 2v2] ProLeague Season 3 - Friday 21:00 CET [BSL20] RO20 Group D - Sunday 20:00 CET [BSL20] RO20 Group B - Saturday 20:00 CET
Strategy
[G] How to get started on ladder as a new Z player I am doing this better than progamers do.
Other Games
General Games
Monster Hunter Wilds Path of Exile Nintendo Switch Thread Beyond All Reason Battle Aces/David Kim RTS Megathread
Dota 2
Official 'what is Dota anymore' discussion
League of Legends
LiquidLegends to reintegrate into TL.net
Heroes of the Storm
Simple Questions, Simple Answers
Hearthstone
Heroes of StarCraft mini-set
TL Mafia
Vanilla Mini Mafia TL Mafia Community Thread TL Mafia Plays: Diplomacy TL Mafia: Generative Agents Showdown Survivor II: The Amazon
Community
General
Things Aren’t Peaceful in Palestine Russo-Ukrainian War Thread US Politics Mega-thread All you football fans (soccer)! European Politico-economics QA Mega-thread
Fan Clubs
Serral Fan Club
Media & Entertainment
[Manga] One Piece Movie Discussion!
Sports
2024 - 2025 Football Thread NHL Playoffs 2024 Formula 1 Discussion NBA General Discussion
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread Cleaning My Mechanical Keyboard How to clean a TTe Thermaltake keyboard?
TL Community
The Automated Ban List TL.net Ten Commandments
Blogs
I was completely wrong ab…
jameswatts
Need Your Help/Advice
Glider
Trip to the Zoo
micronesia
Yes Sir! How Commanding Impr…
TrAiDoS
Poker
Nebuchad
Info SLEgma_12
SLEgma_12
SECOND COMMING
XenOsky
Customize Sidebar...

Website Feedback

Closed Threads



Active: 14578 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 States18820 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
Road to EWC
22:00
Americas Closed Qualifiers
CranKy Ducklings328
EnkiAlexander 122
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
RuFF_SC2 232
Nina 157
CosmosSc2 149
PiLiPiLi 10
StarCraft: Brood War
Sharp 161
NaDa 62
Aegong 61
Bale 10
Icarus 7
Dota 2
monkeys_forever255
LuMiX1
League of Legends
JimRising 498
Counter-Strike
Stewie2K348
Heroes of the Storm
Khaldor157
Other Games
tarik_tv8897
summit1g7962
FrodaN7800
C9.Mang0409
WinterStarcraft301
ViBE248
Mew2King151
Maynarde110
Has40
PPMD28
Organizations
Other Games
gamesdonequick1242
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 17 non-featured ]
StarCraft 2
• Berry_CruncH276
• Hupsaiya 51
• davetesta46
• gosughost_ 15
• Migwel
• AfreecaTV YouTube
• intothetv
• sooper7s
• Kozan
• IndyKCrew
• LaughNgamezSOOP
StarCraft: Brood War
• Azhi_Dahaki58
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
League of Legends
• Shiphtur572
• Stunt443
Upcoming Events
Road to EWC
6h 42m
Road to EWC
13h 42m
BSL Season 20
15h 42m
Sziky vs Razz
Sziky vs StRyKeR
Sziky vs DragOn
Sziky vs Tech
Razz vs StRyKeR
Razz vs DragOn
Razz vs Tech
DragOn vs Tech
Online Event
1d 1h
Clem vs ShoWTimE
herO vs MaxPax
Road to EWC
1d 6h
Road to EWC
1d 13h
BSL Season 20
1d 15h
Bonyth vs Doodle
Bonyth vs izu
Bonyth vs MadiNho
Bonyth vs TerrOr
MadiNho vs TerrOr
Doodle vs izu
Doodle vs MadiNho
Doodle vs TerrOr
Replay Cast
2 days
Replay Cast
3 days
The PondCast
5 days
[ Show More ]
Replay Cast
5 days
Replay Cast
6 days
Liquipedia Results

Completed

Proleague 2025-05-28
DreamHack Dallas 2025
Calamity Stars S2

Ongoing

JPL Season 2
BSL 2v2 Season 3
BSL Season 20
KCM Race Survival 2025 Season 2
NPSL S3
Rose Open S1
CSL Season 17: Qualifier 1
2025 GSL S2
Heroes 10 EU
ESL Impact League Season 7
IEM Dallas 2025
PGL Astana 2025
Asian Champions League '25
ECL Season 49: Europe
BLAST Rivals Spring 2025
MESA Nomadic Masters
CCT Season 2 Global Finals
IEM Melbourne 2025
YaLLa Compass Qatar 2025
PGL Bucharest 2025
BLAST Open Spring 2025

Upcoming

CSL Season 17: Qualifier 2
CSL 17: 2025 SUMMER
Copa Latinoamericana 4
CSLPRO Last Chance 2025
CSLAN 2025
K-Championship
SEL Season 2 Championship
Esports World Cup 2025
HSC XXVII
Championship of Russia 2025
Bellum Gens Elite Stara Zagora 2025
BLAST Bounty Fall Qual
IEM Cologne 2025
FISSURE Playground #1
BLAST.tv Austin Major 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.