[–]▶ No.854570>>854585 >>854592 >>854597 >>854606 >>854607 >>854704 [Watch Thread][Show All Posts]
I was on a bus and got bored so I wrote this on my >smartphone.
https://gitgud.io/m712/goyt/
Features:
- Basic search, gives you 20 results: /search/
- Stream/download youtube video (gives best mp4 option): /<id>.mp4
No public instance because I don't have a server that'd handle the bandwidth, but someone can give a shot.
▶ No.854579>>854580
>go
your excellent naming scheme makes up for it though.
▶ No.854580
▶ No.854585>>854589 >>854591
>>854570 (OP)
Is this any relation to yt https://github.com/SpaceBudokan/WhyTee, or is the naming convention just that obvious?
▶ No.854589
>>854585
No. I think there is also one I used to use called whitey. Nowadays, I just use searx for searxing for videos. I also have RSS feeds for "subscriptions."
▶ No.854591>>854603
>>854585
Nope, just coincidence. I didn't know that existed.
you can also call the program "go whitey!" i guess
▶ No.854592>>854606
>>854570 (OP)
You typed from the virtual keyboard?
What goyphone do you have?
▶ No.854597>>854606
>>854570 (OP)
Ok. But why?
▶ No.854603>>854612
>>854591
Shit, I was hoping my little script inspired someone. I just cranked that out one day for an anon that was bitching about no programs that let him youtube from the command line. Oh well.
▶ No.854606>>854608
>>854592
GT-I9300 (Galaxy S3). I have manlet hands so it's not hard to type even with 440dpi. I use Termux, neovim and Hacker's Keyboard.
>>854597
>Ok. But why?
>I cannot read
>>854570 (OP)
<I was on a bus and got bored so I wrote this on my >smartphone.
▶ No.854607>>854610
>>854570 (OP)
how do I get to the interface from Links once it's running? Maybe I'm just retarded, but I have goyt running in a terminal but don't know how to get to the interface so I can search and download JewTube vids
▶ No.854608>>854610 >>854612
>>854606
Yeah ok. But why would I use this?
▶ No.854610>>854614 >>854615
>>854608
It's not for use by everyone, it's meant to be used as a server. Think a shittily made and no-JS, no-botnet alternative to HookTube. Someone will host this and people will use it.
>>854607
spoon.Feed(links -g <url>)
▶ No.854612>>854617
>>854603
>>854608
> youtube from the command line
you should hook this to mplayer and play the videos in the terminal window too
mplayer -vo caca goyapprovedvideo.mp4
▶ No.854614>>854626
>>854610
>no-botnet
So you don't need to connect to google to play videos?
▶ No.854615
>>854610
thanks m8. I like it.
▶ No.854617>>854618
>>854612
You could, but it's meant to be kind of a unix philosophy kind of thing. It just grabs data from youtube and barfs it to stdout in a minimally human readable form for you to parse and manipulate however you want with other scripts. If you want to feed it into mplayer than go for it. It shouldn't be too hard to use yt to crank out an mpsyt type script that does what you want. Like I mentioned earlier, (and kinda in the readme) I cranked it out in a couple hours to shutup an anon that was bitching about how mpsyt wasn't minimal enough and didn't just barf out enough raw data. I told him that even my retarded larper ass could easily write a script to do that, and then I did.
▶ No.854618>>854626
>>854617
that makes sense. if that's the goal you should give it an option to pump out all the data in json or something then, instead of having to then parse this minimal front-end that is parsing youtube.
▶ No.854624>>854626
>what is youtube api
hmmmmmm
▶ No.854626>>854629
>>854624
You need to sign up for an API key. goyt doesn't need that.
>>854614
The server owner has to connect to google so you don't have to.
>>854618
Good idea, will implement.
▶ No.854629>>854632
>>854626
So who is willing to pay for it?
This sounds like a completely retarded project tbh.
▶ No.854632>>854633
>>854629
Whoever the fuck wants tho. I provide the software, someone can provide the service. I use this personally to download youtube videos over a filtered network.
▶ No.854633>>854640
>>854632
>Whoever the fuck wants tho.
Nobody then
>I use this personally to download youtube videos over a filtered network.
What is TOR/VPN
▶ No.854640
>>854633
Neither work there. They whitelist sites and few ports. (not work)
▶ No.854647>>854648 >>854651
a big issue with this is going to be if this was put on a server and got even a minimal amount of usage it would start getting hit with captcha's constantly for being a bad goy and not using their api, which you have to pay for.
▶ No.854648>>854651
>>854647
you might solve this by parsing the captcha and forwarding it to the user somehow, then the server is going to grind to a halt until someone solves that captcha. the code for this is going to be ten times the size of your codebase though. and eventually kiketube will just shoah the ip address. this is why hooktube uses the api, it wouldn't function without it.
▶ No.854651
>>854647
>>854648
If that's the case, I can switch to using the API. I'll look into it.
▶ No.854661
I put out an update for a JSON API. It lives at /search.json.
▶ No.854675>>854680
What's the advantages over mps-youtube?
▶ No.854680>>854688 >>854689
>>854675
The idea is that there's a server who's connecting to (((Youtube))) servers for you, so you don't have to. mps-youtube connects directly to youtube from your connection. This also helps in bypassing youtube blocks (if you use a benign domain name).
▶ No.854683>>854706
▶ No.854688>>854697
>>854680
I already yse a bunch of proxies with youtube-dl, so your agument is invalid. Why should I trust some literally who on mitming queries to youtube for me?
▶ No.854689>>854697
>>854680
I already use a bunch of proxies with youtube-dl, so your agument is invalid. Why should I trust some literally who on mitming queries to youtube for me?
▶ No.854697
>>854688
>>854689
It's your choice. Someone might use it (no access to proxies because of blocked ports)
▶ No.854704
>>854570 (OP)
Thank you so much.
▶ No.854706>>854715
>>854683
I use it a lot, but
>android
▶ No.854724
I think there already exists surfraw, but not sure if the youtube elvi is functional. Goytube always changes shit and it breaks programs like youtube-dl, so it has to be updated constantly. Also, that fucking javascript...
▶ No.854728>>854755
>>854715
Shut the fuck up.
▶ No.854755
>>854728
L0L kill yourself