aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/downloader/mhtml.py
diff options
context:
space:
mode:
Diffstat (limited to 'yt_dlp/downloader/mhtml.py')
-rw-r--r--yt_dlp/downloader/mhtml.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/yt_dlp/downloader/mhtml.py b/yt_dlp/downloader/mhtml.py
index 81d95c7cb..b75db18a8 100644
--- a/yt_dlp/downloader/mhtml.py
+++ b/yt_dlp/downloader/mhtml.py
@@ -122,7 +122,7 @@ body > figure > img {
'total_frags': len(fragments),
}
- self._prepare_and_start_frag_download(ctx)
+ self._prepare_and_start_frag_download(ctx, info_dict)
extra_state = ctx.setdefault('extra_state', {
'header_written': False,
@@ -198,5 +198,5 @@ body > figure > img {
ctx['dest_stream'].write(
b'--%b--\r\n\r\n' % frag_boundary.encode('us-ascii'))
- self._finish_frag_download(ctx)
+ self._finish_frag_download(ctx, info_dict)
return True