Golty icon indicating copy to clipboard operation
Golty copied to clipboard

Channel downloads

Open AMJidovu opened this issue 4 years ago • 3 comments

Are channel downloads currently supported?

Describe the bug

There was an error while checking playlists: CheckAll: CheckNow: From c.GetMetadata(): ERROR: vP0ZfcuiR2c: YouTube said: Unable to extract video data

To Reproduce When I try to download channels.

Desktop (please complete the following information):

  • Docker using Unraid

AMJidovu avatar Jul 15 '20 23:07 AMJidovu

I had the same issue and temporary fixed it by going to the docker tab in unraid and go into a console for this container (or "docker exec -it yt-auto-dl sh" for people not on unraid or logged in using terminal. Then I manually updated youtube-dl (because youtube-dl -U did not work for me)

I used the following commands: wget --no-check-certificate https://yt-dl.org/downloads/latest/youtube-dl mv youtube-dl /usr/local/bin/youtube-dl chown root:root /usr/local/bin/youtube-dl chmod a+rx /usr/local/bin/youtube-dl

after this the UI started working for downloading channels.

nickyhuyskens avatar Oct 27 '20 17:10 nickyhuyskens

I tried this fix, but now get an error message that seems to be the entire resulting JSON from the channel lookup.

mattburlage avatar Mar 09 '21 15:03 mattburlage

So I took a look at the code and I think I've found a fix. Looks like a type mismatch for a piece of the JSON data. The good news is that it appears (at least to me with literally zero Go knowledge) to not actually be needed anywhere.

I cloned the repo and commented out line 64 of structs.go and it seems to work. I'm happy to create a PR with this fix, but would love someone with more go knowledge than me to confirm this (or suggest the actual fix for the type mismatch).

mattburlage avatar Mar 09 '21 15:03 mattburlage