kkdai / youtube

Download Youtube Video in Golang
MIT License
3.31k stars 429 forks source link

Loading speed is slow #262

Closed khodand closed 1 year ago

khodand commented 2 years ago

Loading speed has become much slower after this change a27c8e6028c8156d75fe5f5cfd226d1977ea8532

alberfd commented 2 years ago

+1

alberfd commented 2 years ago

Only two with this problem?

vinicius73 commented 2 years ago

Same here

faelp22 commented 1 year ago

Same here

vl-ms commented 1 year ago

same, no matter whether it's termux or my main desktop, it caps at 70k or even less. It might be related to youtube-dl being throttled, if you're implementing the download the same way. yt-dlp has a workaround, but it is still unstable (ranges from 500k to nearly full speed on my connection). I guess we should dig in the direction yt-dlp is going because I prefer go to python any day of the week

vl-ms commented 1 year ago

@89z even the README.md url is slow

vl-ms commented 1 year ago

this one, from README.md https://www.youtube.com/watch?v=rFejpH_tAHM

vl-ms commented 1 year ago

oh, didn't figured out that there is a separate better version... Thank you!

alberfd commented 1 year ago

The issue persist to me with last version, the download speed is very slow. Tested in two diferent hosts with same results.

wget https://github.com/kkdai/youtube/releases/download/v2.7.16/youtubedr_2.7.16_linux_amd64.tar.gz tar -xf youtubedr_2.7.16_linux_amd64.tar.gz ./youtubedr download https://www.youtube.com/watch?v=rFejpH_tAHM 24.21 MiB / 45.45 MiB 53 % [================================>-----------------------------] 8m8s ] 44.45 KiB/s

vl-ms commented 1 year ago

guys, seems like there is a rewrite over here. It works much better for me at least

kingwrcy commented 1 year ago

same here .plz fix it

corny commented 1 year ago

should be fixed by #286