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

Download speeds are slow #376

Closed
aaronliu0130 opened this issue Feb 11, 2024 · 10 comments
Closed

Download speeds are slow #376

aaronliu0130 opened this issue Feb 11, 2024 · 10 comments

Comments

@aaronliu0130
Copy link

Opening this since #211 was mysteriously closed. I'd recommend using yt-dlp as the download engine.

@vux992
Copy link

vux992 commented Feb 12, 2024

Can confirm, my download speed on the app is 300kbps. Using Cox fiber 1gbps.

@aaronliu0130
Copy link
Author

Lucky you, mine is only 32 (while my network speeds usually go to ~30mbps)

@MiRO92
Copy link
Owner

MiRO92 commented Feb 13, 2024

I take download links directly from the YouTube app, unlike other tweaks that decrypt the download links using their servers. As a result, I have no control over the download speed, as it is dependent on YouTube's servers. Additionally, please note that YouTube may impose download limits for certain video qualities, which can affect the speed. Thank you for your understanding

@MiRO92 MiRO92 closed this as completed Feb 13, 2024
@aaronliu0130
Copy link
Author

aaronliu0130 commented Feb 13, 2024

Thanks for the explanation. Is it possible to add link decryption from yt-dlp's code? Currently, every single quality gives me a speed of 32kb, which is way slower than how my video loads. I can finish playing a video much faster than uYou's downloads.

Edit: They seem to use the https://github.com/tombulled/innertube API

@MiRO92
Copy link
Owner

MiRO92 commented Feb 13, 2024

Thanks for the explanation. Is it possible to add link decryption from yt-dlp's code? Currently, every single quality gives me a speed of 32kb, which is way slower than how my video loads. I can finish playing a video much faster than uYou's downloads.

Edit: They seem to use the https://github.com/tombulled/innertube API

I was decrypting the links using yt-dlp on my server back when I first released uYou, but then I removed it because I didn't want uYou to depend on my server. This decision was made due to the possibility of my server being closed at any given time, as uYou is a free service and I cannot afford to keep my server running for free indefinitely. If that were to happen, uYou would stop working, so I went ahead and removed it.

@aaronliu0130
Copy link
Author

aaronliu0130 commented Feb 13, 2024

Is it possible for uYou to query Innertube or do something else directly? Or maybe even bundle yt-dlp's YouTube extractor? YouTube Reborn also has download speeds that seem normal

@yodaluca23
Copy link

I was decrypting the links using yt-dlp on my server back when I first released uYou, but then I removed it because I didn't want uYou to depend on my server. This decision was made due to the possibility of my server being closed at any given time, as uYou is a free service and I cannot afford to keep my server running for free indefinitely. If that were to happen, uYou would stop working, so I went ahead and removed it.

Maybe you could keep both so that as long as your servers up, we can get the high download speeds, but if it ever goes down, we can still download just with slower speeds.

@aaronliu0130
Copy link
Author

I don't think we need servers, why not just run the commands locally

@aaronliu0130
Copy link
Author

YTMusicUltimate also released a fast downloader last month.

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

No branches or pull requests

5 participants
@MiRO92 @aaronliu0130 @yodaluca23 @vux992 and others