Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

panic: interface conversion: interface {} is nil, not map[string]interface {} #8

Open
szabgab opened this issue Apr 9, 2020 · 0 comments

Comments

@szabgab
Copy link
Contributor

szabgab commented Apr 9, 2020

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

marethyu pushed a commit that referenced this issue Apr 10, 2020
report that streamingData is missing instead of panicing #8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant