marethyu / gotube Goto Github PK
View Code? Open in Web Editor NEWA very simple command line tool for downloading YouTube videos.
License: BSD 3-Clause "New" or "Revised" License
A very simple command line tool for downloading YouTube videos.
License: BSD 3-Clause "New" or "Revised" License
Everything is super, thank you very much
Just not enough quality :(
audio at 33 kb sec
video 640x480
You can increase the quality to
audio at 128 kb sec
1080p video or whatever else
I use google translator
https://www.youtube.com/get_video_info?video_id=[VIDEO ID] no longer works and not possible to fetch metadata
The title says it all.
For anyone who doesn't know what a precompiled binary is, it's a binary/executable file. When you run go run, golang automatically creates then executes your binary.
Why does this help? If people don't have go installed, they won't use the project. But with precompiled binaries, they can just download the binary file and execute it.
The thing is... Binaries are different for different computer architectures. Some common architectures are x86_64, arm and amd.
I won't be able to contribute from my computer for a little bit, so feel free to compile the binaries yourself.
Have a scintillating Sunday, Bobbbay
Hi there,
What is the possible cause of the following error?
$ ./gotube https://www.youtube.com/watch?v=nVjsGKrE6E8
GoTube: streamingData is missing from this video 'nVjsGKrE6E8'
However, the example provided in README worked :)
$ ./gotube https://www.youtube.com/watch?v=2fsMUqYix0c
<nil>
$ #Downloaded successfully
I get the following exception:
go run gotube.go -v -a 'https://www.youtube.com/watch?v=QmhcdlvUIUY&list=PL3rN31hgtvRZZ6pe_brZQMOIFIBwdv5IF'
GoTube: Making a HTTP GET request thru https://www.youtube.com/get_video_info?video_id=QmhcdlvUIUY...
panic: interface conversion: interface {} is nil, not map[string]interface {}
goroutine 5 [running]:
main.DownloadYTVideo(0x7ffe90b80117, 0x53, 0x714d8c, 0x1, 0xc000040101, 0x0, 0x0)
/home/gabor/work/gotube/gotube.go:293 +0x2315
main.Download.func1(0xc000000008, 0x72a878)
/home/gabor/work/gotube/gotube.go:409 +0xcb
golang.org/x/sync/errgroup.(*Group).Go.func1(0xc000082c60, 0xc000012500)
/home/gabor/go/src/golang.org/x/sync/errgroup/errgroup.go:57 +0x57
created by golang.org/x/sync/errgroup.(*Group).Go
/home/gabor/go/src/golang.org/x/sync/errgroup/errgroup.go:54 +0x66
exit status 2
$ go version
go version go1.12.9 linux/amd64
On this commit: 3637197
hi,
the readme still says: "It does not require any third-party packages," but now it also says to install "golang.org/x/sync/errgroup".
Do you plan to restore the "no-external dependency"?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.