Comments (6)
Please advise.
github.com/rylio/ytdl (download)
github.com/rs/zerolog (download)
github.com/stretchr/testify (download)
github.com/davecgh/go-spew (download)
github.com/pmezard/go-difflib (download)
get "gopkg.in/yaml.v2": found meta tag get.metaImport{Prefix:"gopkg.in/yaml.v2", VCS:"git", RepoRoot:"https://gopkg.in/yaml.v2"} at //gopkg.in/yaml.v2?go-get=1
gopkg.in/yaml.v2 (download)
github.com/mattn/go-isatty (download)
get "golang.org/x/sys/unix": found meta tag get.metaImport{Prefix:"golang.org/x/sys", VCS:"git", RepoRoot:"https://go.googlesource.com/sys"} at //golang.org/x/sys/unix?go-get=1
get "golang.org/x/sys/unix": verifying non-authoritative meta tag
golang.org/x/sys (download)
github.com/olekukonko/tablewriter (download)
github.com/mattn/go-runewidth (download)
github.com/urfave/cli (download)
github.com/cpuguy83/go-md2man (download)
golang.org/x/sys/unix
github.com/mattn/go-isatty
github.com/rylio/ytdl/cmd/ytdl
# github.com/rylio/ytdl/cmd/ytdl
/Users/ikozlov/go/src/github.com/rylio/ytdl/cmd/ytdl/main.go:51:17: cannot use cli.StringFlag literal (type cli.StringFlag) as type cli.Flag in slice literal:
cli.StringFlag does not implement cli.Flag (Apply method has pointer receiver)
/Users/ikozlov/go/src/github.com/rylio/ytdl/cmd/ytdl/main.go:56:15: cannot use cli.BoolFlag literal (type cli.BoolFlag) as type cli.Flag in slice literal:
cli.BoolFlag does not implement cli.Flag (Apply method has pointer receiver)
/Users/ikozlov/go/src/github.com/rylio/ytdl/cmd/ytdl/main.go:60:15: cannot use cli.BoolFlag literal (type cli.BoolFlag) as type cli.Flag in slice literal:
cli.BoolFlag does not implement cli.Flag (Apply method has pointer receiver)
/Users/ikozlov/go/src/github.com/rylio/ytdl/cmd/ytdl/main.go:64:15: cannot use cli.BoolFlag literal (type cli.BoolFlag) as type cli.Flag in slice literal:
cli.BoolFlag does not implement cli.Flag (Apply method has pointer receiver)
/Users/ikozlov/go/src/github.com/rylio/ytdl/cmd/ytdl/main.go:68:15: cannot use cli.BoolFlag literal (type cli.BoolFlag) as type cli.Flag in slice literal:
cli.BoolFlag does not implement cli.Flag (Apply method has pointer receiver)
/Users/ikozlov/go/src/github.com/rylio/ytdl/cmd/ytdl/main.go:72:22: cannot use cli.StringSliceFlag literal (type cli.StringSliceFlag) as type cli.Flag in slice literal:
cli.StringSliceFlag does not implement cli.Flag (Apply method has pointer receiver)
/Users/ikozlov/go/src/github.com/rylio/ytdl/cmd/ytdl/main.go:76:17: cannot use cli.StringFlag literal (type cli.StringFlag) as type cli.Flag in slice literal:
cli.StringFlag does not implement cli.Flag (Apply method has pointer receiver)
/Users/ikozlov/go/src/github.com/rylio/ytdl/cmd/ytdl/main.go:80:15: cannot use cli.BoolFlag literal (type cli.BoolFlag) as type cli.Flag in slice literal:
cli.BoolFlag does not implement cli.Flag (Apply method has pointer receiver)
/Users/ikozlov/go/src/github.com/rylio/ytdl/cmd/ytdl/main.go:84:15: cannot use cli.BoolFlag literal (type cli.BoolFlag) as type cli.Flag in slice literal:
cli.BoolFlag does not implement cli.Flag (Apply method has pointer receiver)
/Users/ikozlov/go/src/github.com/rylio/ytdl/cmd/ytdl/main.go:88:17: cannot use cli.StringFlag literal (type cli.StringFlag) as type cli.Flag in slice literal:
cli.StringFlag does not implement cli.Flag (Apply method has pointer receiver)
/Users/ikozlov/go/src/github.com/rylio/ytdl/cmd/ytdl/main.go:88:17: too many errors
from ytdl.
#86 solved it.
from ytdl.
; go get -u github.com/rylio/ytdl/...
# github.com/rylio/ytdl/cmd/ytdl
src/github.com/rylio/ytdl/cmd/ytdl/main.go:51:17: cannot use cli.StringFlag literal (type cli.StringFlag) as type cli.Flag in slice literal:
cli.StringFlag does not implement cli.Flag (Apply method has pointer receiver)
src/github.com/rylio/ytdl/cmd/ytdl/main.go:56:15: cannot use cli.BoolFlag literal (type cli.BoolFlag) as type cli.Flag in slice literal:
cli.BoolFlag does not implement cli.Flag (Apply method has pointer receiver)
src/github.com/rylio/ytdl/cmd/ytdl/main.go:60:15: cannot use cli.BoolFlag literal (type cli.BoolFlag) as type cli.Flag in slice literal:
cli.BoolFlag does not implement cli.Flag (Apply method has pointer receiver)
src/github.com/rylio/ytdl/cmd/ytdl/main.go:64:15: cannot use cli.BoolFlag literal (type cli.BoolFlag) as type cli.Flag in slice literal:
cli.BoolFlag does not implement cli.Flag (Apply method has pointer receiver)
src/github.com/rylio/ytdl/cmd/ytdl/main.go:68:15: cannot use cli.BoolFlag literal (type cli.BoolFlag) as type cli.Flag in slice literal:
cli.BoolFlag does not implement cli.Flag (Apply method has pointer receiver)
src/github.com/rylio/ytdl/cmd/ytdl/main.go:72:22: cannot use cli.StringSliceFlag literal (type cli.StringSliceFlag) as type cli.Flag in slice literal:
cli.StringSliceFlag does not implement cli.Flag (Apply method has pointer receiver)
src/github.com/rylio/ytdl/cmd/ytdl/main.go:76:17: cannot use cli.StringFlag literal (type cli.StringFlag) as type cli.Flag in slice literal:
cli.StringFlag does not implement cli.Flag (Apply method has pointer receiver)
src/github.com/rylio/ytdl/cmd/ytdl/main.go:80:15: cannot use cli.BoolFlag literal (type cli.BoolFlag) as type cli.Flag in slice literal:
cli.BoolFlag does not implement cli.Flag (Apply method has pointer receiver)
src/github.com/rylio/ytdl/cmd/ytdl/main.go:84:15: cannot use cli.BoolFlag literal (type cli.BoolFlag) as type cli.Flag in slice literal:
cli.BoolFlag does not implement cli.Flag (Apply method has pointer receiver)
src/github.com/rylio/ytdl/cmd/ytdl/main.go:88:17: cannot use cli.StringFlag literal (type cli.StringFlag) as type cli.Flag in slice literal:
cli.StringFlag does not implement cli.Flag (Apply method has pointer receiver)
src/github.com/rylio/ytdl/cmd/ytdl/main.go:88:17: too many errors
from ytdl.
Use git clone
then go build
failed:
C:\andrew\prj>git clone https://github.com/rylio/ytdl.git
Cloning into 'ytdl'...
remote: Enumerating objects: 46, done.
remote: Counting objects: 100% (46/46), done.
remote: Compressing objects: 100% (37/37), done.
remote: Total 612 (delta 22), reused 24 (delta 8), pack-reused 566R
Receiving objects: 100% (612/612), 158.19 KiB | 1.00 MiB/s, done.
Resolving deltas: 100% (317/317), done.
C:\andrew\prj>cd ytdl
C:\andrew\prj\ytdl>go build .\cmd\ytdl
# github.com/rylio/ytdl/cmd/ytdl
cmd\ytdl\main.go:171:34: not enough arguments in call to client.GetVideoInfo
have (string)
want (context.Context, interface {})
cmd\ytdl\main.go:248:43: not enough arguments in call to client.GetDownloadURL
have (*ytdl.VideoInfo, *ytdl.Format)
want (context.Context, *ytdl.VideoInfo, *ytdl.Format)
from ytdl.
Use
git clone
thengo build
failed:C:\andrew\prj>git clone https://github.com/rylio/ytdl.git Cloning into 'ytdl'... remote: Enumerating objects: 46, done. remote: Counting objects: 100% (46/46), done. remote: Compressing objects: 100% (37/37), done. remote: Total 612 (delta 22), reused 24 (delta 8), pack-reused 566R Receiving objects: 100% (612/612), 158.19 KiB | 1.00 MiB/s, done. Resolving deltas: 100% (317/317), done. C:\andrew\prj>cd ytdl C:\andrew\prj\ytdl>go build .\cmd\ytdl # github.com/rylio/ytdl/cmd/ytdl cmd\ytdl\main.go:171:34: not enough arguments in call to client.GetVideoInfo have (string) want (context.Context, interface {}) cmd\ytdl\main.go:248:43: not enough arguments in call to client.GetDownloadURL have (*ytdl.VideoInfo, *ytdl.Format) want (context.Context, *ytdl.VideoInfo, *ytdl.Format)
I have the same
from ytdl.
Please try the compiled releases: https://github.com/rylio/ytdl/releases
from ytdl.
Related Issues (20)
- install error HOT 1
- No formats found
- no err but No formats HOT 1
- Don't log when used as a library HOT 1
- Dont compile last version (go get -u github.com/rylio/ytdl/...) HOT 7
- GetVideoInfo - invalid character ';' after top-level value HOT 4
- Add MKV support HOT 1
- Create New Release HOT 1
- can not download https://youtu.be/Hd_ptbiPoXM HOT 4
- Can not download https://www.youtube.com/watch?v=Ap0huJwyT7g HOT 1
- Can not download video HOT 3
- How to use specific format HOT 1
- not build HOT 1
- Not able to download YouTube videos HOT 1
- build (with v2 of urfave/cli?) HOT 1
- Example in read me is non-functional HOT 1
- Remove my test tags from your repo HOT 3
- option to skip SSL verification please HOT 1
- Error when running go get HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ytdl.