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

Channel downloads #96

Open
AMJidovu opened this issue Jul 15, 2020 · 3 comments
Open

Channel downloads #96

AMJidovu opened this issue Jul 15, 2020 · 3 comments

Comments

@AMJidovu
Copy link

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
@nickyhuyskens
Copy link

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.

@mattburlage
Copy link

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

@mattburlage
Copy link

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).

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

Successfully merging a pull request may close this issue.

3 participants