JuanBindez / pytubefix

Python3 library for downloading YouTube Videos.
http://pytubefix.rtfd.io/
MIT License
454 stars 67 forks source link

on_progres doesn't work fully #197

Open NeUk1N opened 3 weeks ago

NeUk1N commented 3 weeks ago

My progress bar is displayed with a delay, and when it appears, it is either with 100% or another large value.


from pytubefix import YouTube from pytubefix.cli import on_progress

url = "https://www.youtube.com/watch?v=25N1pdzvp4c"

yt = YouTube(url, on_progress_callback = on_progress)

ys = yt.streams.get_highest_resolution()

ys.download()


When you start the program, a progress bar immediately appears with 0%, gradually filling up to 100%.


Desktop (please complete the following information):


Is it because I am using a proxy server when downloading?