-
Notifications
You must be signed in to change notification settings - Fork 10
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
Downloads empty files #9
Comments
Thanks for the report! I can confirm this. I haven't worked on this library lately but I'll see what I can do. |
Actually, it looks like YouTube messed up with a few videos. Some other ones like https://www.youtube.com/watch?v=UuEHqk8M6Fc download okay. |
The video I tried, worked with pafy and not rafy. I think it was this one
https://youtu.be/M_j1LP9q_Ew
I'm away now so can't share code but I can this evening.
…On Mon 2 Apr 2018 07:38 Ritiek Malhotra, ***@***.***> wrote:
Actually, it looks like YouTube messed up with a few videos. Some other
ones like https://www.youtube.com/watch?v=UuEHqk8M6Fc download okay.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#9 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AEjVpzXX0ORyhgo5Cw6ARMnouqD6_lLFks5tkbltgaJpZM4TC_NP>
.
|
It looks like pafy works with that video only when youtube-dl backend is enabled. It won't work for me if backend is set to internal.
To support these videos in rafy, we're going to have to set up youtube-dl backend as well just like pafy. |
Is there no other way? (i.e. what is |
YouTube keeps undergoing changes I can't possibly keep track of and make appropriate fixes ASAP. youtube-dl manages that pretty good and personally I think we should try our best to avoid duplicate effort.
I am not sure at the moment. I'll have to take a deeper look as I haven't worked with FFI much before.
I am willing to accept PRs but I'll also integrate myself when I set my mood on it. :) |
Ok, I looked into it and seems like we can do it with cpython. I will try to implement it. |
In this example in the docs,
download()
downloads only empty files. I got the same result personally when I tried to download an audiostream.The text was updated successfully, but these errors were encountered: