aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpukkandan <pukkandan.ytdlp@gmail.com>2022-08-02 04:04:05 +0530
committerpukkandan <pukkandan.ytdlp@gmail.com>2022-08-02 04:04:39 +0530
commita6ca61d427f37b472f30afd90d5e8cf539c541b6 (patch)
treed2f3e5d71bec269431a669481f83cb59353028ad
parentd8657ff76f0701c7e35bfd7f2a2e247921c73afb (diff)
downloadhypervideo-pre-a6ca61d427f37b472f30afd90d5e8cf539c541b6.tar.lz
hypervideo-pre-a6ca61d427f37b472f30afd90d5e8cf539c541b6.tar.xz
hypervideo-pre-a6ca61d427f37b472f30afd90d5e8cf539c541b6.zip
Fix bug in 0647d9251f7285759109cc82693efee533346911
-rw-r--r--yt_dlp/YoutubeDL.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/yt_dlp/YoutubeDL.py b/yt_dlp/YoutubeDL.py
index e72354bec..7ee83ed4a 100644
--- a/yt_dlp/YoutubeDL.py
+++ b/yt_dlp/YoutubeDL.py
@@ -1799,6 +1799,10 @@ class YoutubeDL:
self.to_screen('[download] Downloading video %s of %s' % (
self._format_screen(i + 1, self.Styles.ID), self._format_screen(n_entries, self.Styles.EMPHASIS)))
+ extra.update({
+ 'playlist_index': playlist_index,
+ 'playlist_autonumber': i + 1,
+ })
entry_result = self.__process_iterable_entry(entry, download, extra)
if not entry_result:
failures += 1