mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-12-06 06:45:00 +01:00
Merge c16571ce53 into 7ec6b9bc40
This commit is contained in:
commit
f17d63be2a
1 changed files with 7 additions and 0 deletions
|
|
@ -2100,6 +2100,9 @@ class YoutubeDL:
|
|||
|
||||
failures = 0
|
||||
max_failures = self.params.get('skip_playlist_after_errors') or float('inf')
|
||||
|
||||
self.to_screen(f'[download] Processing playlist with {n_entries} items')
|
||||
|
||||
for i, (playlist_index, entry) in enumerate(entries):
|
||||
if lazy:
|
||||
resolved_entries.append((playlist_index, entry))
|
||||
|
|
@ -2117,6 +2120,10 @@ class YoutubeDL:
|
|||
'playlist_autonumber': i + 1,
|
||||
})
|
||||
|
||||
progress = f'[{i + 1}/{n_entries}]'
|
||||
sys.stdout.write(f'\r[download] {progress} Downloading item {i + 1} of {n_entries}\n')
|
||||
sys.stdout.flush()
|
||||
|
||||
if self._match_entry(entry_copy, incomplete=True) is not None:
|
||||
# For compatabilty with youtube-dl. See https://github.com/yt-dlp/yt-dlp/issues/4369
|
||||
resolved_entries[i] = (playlist_index, NO_DEFAULT)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue