mirror of
https://github.com/yt-dlp/yt-dlp
synced 2025-01-18 23:03:05 +01:00
[downloader] Fix write_debug
This commit is contained in:
parent
af32f40bf5
commit
856bb8f99d
1 changed files with 3 additions and 0 deletions
|
@ -164,6 +164,9 @@ class FileDownloader(object):
|
|||
def report_error(self, *args, **kargs):
|
||||
self.ydl.report_error(*args, **kargs)
|
||||
|
||||
def write_debug(self, *args, **kargs):
|
||||
self.ydl.write_debug(*args, **kargs)
|
||||
|
||||
def slow_down(self, start_time, now, byte_counter):
|
||||
"""Sleep if the download speed is over the rate limit."""
|
||||
rate_limit = self.params.get('ratelimit')
|
||||
|
|
Loading…
Add table
Reference in a new issue