-
-
Notifications
You must be signed in to change notification settings - Fork 63
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
Cannot download averagely videos that last more than 1 minute #54
Comments
It seems that some videos are playable even if its duration is over 1 minute, therefore the duration doesn't matter (for example: https://www.youtube.com/watch?v=jzi6RNVEOtA works perfectly for me). Also when the stream isn't readable, the "errored" property of the stream returns a 403 error message and the stream is destroyed: |
Are you using |
Yes |
Can you provide 2 links: video is working and not working for you? |
Working link: https://www.youtube.com/watch?v=jzi6RNVEOtA Not working link: https://www.youtube.com/watch?v=uu2XSQgdQDY |
@MR-Flame-exe both work for me in the latest version of ytdl. Could you provide a part of code you are using to download that files? |
|
I think that I had that issue few years ago. Some YT files don't have My workaround was to download always |
Pretty sure it's not a problem related to the audioonly's filter, I mean every videos worked with the bot since today therefore I think it's not an issue related to my code, just an issue with the YouTube API or something. Btw I also tried to use ytdl-core instead of distube but it gets worse, no video was readable. |
On web client, which ytdl-core is using, have an A/B testing to prevent bots. I will investigate it and release an update after working hours. |
Also this issue related to #31 |
I had my app working from server in Finland. Most of the videos downloaded were just blank files. Sometitmes after 2,3 attemptes on each video - manaded to download normaly. Now switched app server location to another country. ~ Half an hour app is working fine. Not sure that it's 100% solution. Just for your information. Thank you all and me for concerns :) |
Describe the bug
When I'm trying to download a video that lasts more than a minute, the "readable" event isn't triggered and when I try to see if the stream is readable, it says that the stream is readable but no stream is returned (there's no error message). But when I tried to download videos that last less than a minute everything works correctly.
Environment
The text was updated successfully, but these errors were encountered: