mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-06-06 04:32:05 +02:00
Separate --check-all-formats
from --check-formats
Previously, `--check-formats` tested only the selected video formats, but ALL thumbnails
This commit is contained in:
parent
96565c7e55
commit
9f1a1c36e6
3 changed files with 68 additions and 53 deletions
|
@ -4050,6 +4050,8 @@ class LazyList(collections.abc.Sequence):
|
|||
|
||||
def __exhaust(self):
|
||||
self.__cache.extend(self.__iterable)
|
||||
# Discard the emptied iterable to make it pickle-able
|
||||
self.__iterable = []
|
||||
return self.__cache
|
||||
|
||||
def exhaust(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue