aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/downloader/fragment.py
diff options
context:
space:
mode:
authorpukkandan <pukkandan.ytdlp@gmail.com>2022-04-29 21:32:31 +0530
committerpukkandan <pukkandan.ytdlp@gmail.com>2022-05-01 04:58:38 +0530
commit3fe75fdc803d50820ddf643dc5184c01162451c4 (patch)
tree626c8680a719e0f2177358c132039c8a39f05766 /yt_dlp/downloader/fragment.py
parent6f7563beb7509aba2f8b1f03fd37e52427dcfecb (diff)
downloadhypervideo-pre-3fe75fdc803d50820ddf643dc5184c01162451c4.tar.lz
hypervideo-pre-3fe75fdc803d50820ddf643dc5184c01162451c4.tar.xz
hypervideo-pre-3fe75fdc803d50820ddf643dc5184c01162451c4.zip
[cleanup] Misc fixes (see desc)
* Do not warn when fixup is skipped for existing file * [fragment] Fix `--skip-unavailable-fragments` for HTTP Errors * [utils] write_string: Fix bug in 59f943cd5097e9bdbc3cb3e6b5675e43d369341a * [utils] parse_codecs: Subtitle codec is generally referred to as `scodec`. https://github.com/yt-dlp/yt-dlp/pull/2174#discussion_r790156048 * [docs] Remove note about permissions. Closes #3597
Diffstat (limited to 'yt_dlp/downloader/fragment.py')
-rw-r--r--yt_dlp/downloader/fragment.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/yt_dlp/downloader/fragment.py b/yt_dlp/downloader/fragment.py
index 451e3cc2f..4655f067f 100644
--- a/yt_dlp/downloader/fragment.py
+++ b/yt_dlp/downloader/fragment.py
@@ -123,7 +123,7 @@ class FragmentFD(FileDownloader):
'request_data': request_data,
'ctx_id': ctx.get('ctx_id'),
}
- success = ctx['dl'].download(fragment_filename, fragment_info_dict)
+ success, _ = ctx['dl'].download(fragment_filename, fragment_info_dict)
if not success:
return False
if fragment_info_dict.get('filetime'):