Progress callback seems to be broken.
Closed this issue · 2 comments
jslay88 commented
Using 9.6.4
Traceback (most recent call last):
File "C:\Scripts\YouTubeDownload\qt_assets\tabs\downloader.py", line 203, in download_streams
proxies=self.__download_manager.get_proxies())
File "C:\Scripts\YouTubeDownload\utils.py", line 72, in download_youtube_video
stream.download(output_path=output_path, filename=filename)
File "C:\Scripts\YouTubeDownload\venv\lib\site-packages\pytube\streams.py", line 241, in download
self.on_progress(chunk, fh, bytes_remaining)
File "C:\Scripts\YouTubeDownload\venv\lib\site-packages\pytube\streams.py", line 302, in on_progress
self._monostate.on_progress(self, chunk, bytes_remaining)
TypeError: update_progress_bar() missing 1 required positional argument: 'bytes_remaining'
Choromanski commented
I'm unable to replicate this issue.
What was the command you were trying to run?