-
Notifications
You must be signed in to change notification settings - Fork 21
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
Can not download video #32
Comments
Dosen't work on Ubuntu Mate 20.04 |
For me this happened because it looks like python was expecting an integer or different length value for quality(it was passing on the first number of the height, 7 for 720, 1 for 1080, 3 for 360). I'm not super versed so in python so I'm not exactly sure why but I solved this by changing in gydl.py and after this change I was able to download videos. |
I don't know if the maintainer will take pull requests as it looks like it may not be active. I have forked it and made some changes. Even properly parsing the resolution settings doesn't completely fix video downloads. It appears the filtering method used in youtube-dl doesn't properly detect if the format/resolution choices are available and it's luck of the draw whether it is detected or not. Instead I implemented a file availability query, grep for the requested settings and pass them with the id instead of the filters. It seems to work pretty well this way but fails for playlists and when the options aren't available. Due to this I set the options to "best" for playlists and when the selected options aren't available. I'm open to further changes and will be monitoring the fork. |
I don't know if it is the gui or the underlaying tool.
I entered a valid URL and wanted to download a yt video. But it won't download. Instead I am asked to check the URL - which is perfectly correct.
Terminal says:
ERROR: requested format not available
which sounds a little different already. But still, even if I change the format to the correct resolution it won't work. I don't know, which file format I have to expect.The text was updated successfully, but these errors were encountered: