Closed PylotLight closed 1 year ago
I think you are right about the origin of this panic
, I was able to get it working in https://github.com/norwnd/youtube/releases/tag/v2.8.1, leaving it here in case somebody needs resolution fast.
I hope repo maintainers can get to this sooner or later and maybe prepare a proper fix (or borrow mine), I'd try to avoid the lazy initialization here which seems to be the culprit (the issue might show up in other places in the code we haven't hit so far).
It's occurring on this ln485 in client.go
It would appear the the issue is coming from: client clientInfo as my current value while debugging is: client: github.com/kkdai/youtube/v2.clientInfo nil
This is occurring on all links/urls, not anything in particular.