diff options
author | pukkandan <pukkandan.ytdlp@gmail.com> | 2022-05-20 20:49:30 +0530 |
---|---|---|
committer | pukkandan <pukkandan.ytdlp@gmail.com> | 2022-05-20 21:03:19 +0530 |
commit | 666c36d58dfacc8998952569cc2d9c414957c53d (patch) | |
tree | 17f1e9b265c1314e4d33e0af2673dbd953bfdcd5 /yt_dlp/downloader/fragment.py | |
parent | 854b0d325e36acddef7a798be21a98756d86ca89 (diff) |
Bugfix for 23326151c45b632c3d5948bd018e80abb370e676
Diffstat (limited to 'yt_dlp/downloader/fragment.py')
-rw-r--r-- | yt_dlp/downloader/fragment.py | 17 |
1 files changed, 5 insertions, 12 deletions
diff --git a/yt_dlp/downloader/fragment.py b/yt_dlp/downloader/fragment.py index 410c8c1a4..493849001 100644 --- a/yt_dlp/downloader/fragment.py +++ b/yt_dlp/downloader/fragment.py @@ -165,18 +165,11 @@ class FragmentFD(FileDownloader): total_frags_str = 'unknown (live)' self.to_screen(f'[{self.FD_NAME}] Total fragments: {total_frags_str}') self.report_destination(ctx['filename']) - dl = HttpQuietDownloader( - self.ydl, - { - 'continuedl': self.params.get('continuedl', True), - 'quiet': self.params.get('quiet'), - 'noprogress': True, - 'ratelimit': self.params.get('ratelimit'), - 'retries': self.params.get('retries', 0), - 'nopart': self.params.get('nopart', False), - 'test': False, - } - ) + dl = HttpQuietDownloader(self.ydl, { + **self.params, + 'noprogress': True, + 'test': False, + }) tmpfilename = self.temp_name(ctx['filename']) open_mode = 'wb' resume_len = 0 |