Terminal application for grabbing latest videos

Avatar image for tigerdx
TigerDX

492

Forum Posts

487

Wiki Points

0

Followers

Reviews: 0

User Lists: 1

I made a little Go terminal application for fetching all the latest GB videos and storing them locally. Might be useful if you have a media server and want all the videos to be available offline, or just locally on your PC. I used this more as an opportunity to learn some Go and its concurrency paradigms, and have open sourced the code, so check it out if you're interested.

https://github.com/benmurden/GB-Video-Grabber

Limited scope right now, but it can resume downloads, and you can configure maximum concurrency. I set up a GitHub action to compile binaries for MacOS, Linux, and Windows for each release.

Avatar image for thesquarepear
thesquarepear

518

Forum Posts

91

Wiki Points

0

Followers

Reviews: 0

User Lists: 1

Cool, thanks for sharing.

Suggestion for improvement that it could be cool with a feature filter option for video_show like "Mass Alex"?

Avatar image for tigerdx
TigerDX

492

Forum Posts

487

Wiki Points

0

Followers

Reviews: 0

User Lists: 1

#3  Edited By TigerDX

Thanks for the suggestion. Yeah, it would be totally possible to do that. I guess if there are only a few shows you're interested in, it would make sense as a config option. You'd need to update it as shows end and new ones come along, however, which is why I mainly thought of it as a "get everything and I'll sort it out later" kind of thing.

My personal use case is maybe a strange one.

Avatar image for tigerdx
TigerDX

492

Forum Posts

487

Wiki Points

0

Followers

Reviews: 0

User Lists: 1

@thesquarepear: Latest version includes a `filter` option, which just passes the provided string as a `filter=` to the API URL.

In your example you could then invoke with `--filter=video_show:39` to only fetch Mass Alex.

Avatar image for thesquarepear
thesquarepear

518

Forum Posts

91

Wiki Points

0

Followers

Reviews: 0

User Lists: 1

@tigerdx: Thanks! That's awesome. I'm gonna check it out later.

Avatar image for thesquarepear
thesquarepear

518

Forum Posts

91

Wiki Points

0

Followers

Reviews: 0

User Lists: 1

I have no experience of programming in Go but I ended up tweaking the URL to use "low_url" as default because I have a crappy internet connection rate :)

GB really don't skimp on their video bitrates.

I guess it's never too late to learn a new language so I might need to get on that.

Avatar image for jondan
jondan

166

Forum Posts

557

Wiki Points

0

Followers

Reviews: 0

User Lists: 9

Neat tool @tigerdx, nice work!

I found a small issue and put in a quick PR, hope it helps. :)

Avatar image for tigerdx
TigerDX

492

Forum Posts

487

Wiki Points

0

Followers

Reviews: 0

User Lists: 1

@thesquarepear: Ah yeah sorry, my bad. I should have an option for quality in there.

Glad to see you were able to change the source to suit your use case.

Avatar image for tigerdx
TigerDX

492

Forum Posts

487

Wiki Points

0

Followers

Reviews: 0

User Lists: 1

@jondan: That's great, thanks for the PR!

Avatar image for thesquarepear
thesquarepear

518

Forum Posts

91

Wiki Points

0

Followers

Reviews: 0

User Lists: 1

#10  Edited By thesquarepear

In case anyone else is using this to grab shows I'm posting the id's for some highlighted shows.

9; Blue Bombin

10; Playdate

12; Demo Derby

13; Ranking of Fighters

14; Beast in the East

15; This Ain't No Game

16; Kerbal: Project B.E.A.S.T

17; This Is the Run

19; VinnyVania

25; Steal My Sunshine

26; The Exquisite Corps

27; Kingdom Heartache

28; Unprofessional Fridays

29; Metal Gear Scanlon

30; Siz Crazy Frights

31; Get in the Ring

35; Thirteen Deadly Sims

39; Mass Alex

48; All Systems Goku

63; Die Another Friday

70; Load Our Last Save

81; Grapes and Wrath

82; Burgle My Bananas

83; Clue Crew

87; Fortnite With St. Vincent! (Eventually)

88; Giant Bomb Makes Mario

94; Astroneering with Brad and Vinny

I upgraded my internet recently but I'm a little disappointed CBSi's servers aren't faster (averaging about 18 Mbps). However that just makes this tool even more useful since I can leave it running overnight so I'm really glad you made it.