mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2026-10-29 18:04:08 +09:00
Extend #980 with --max-quality support
This commit is contained in:
1 parent
5d254f776a
commit
f4d96df0f1
4 files changed
+55
-5
No files matched your search
+2
-2
@@ -34,10 +34,10 @@ def try_rm(filename):
|
||||
|
||||
|
||||
class FakeYDL(YoutubeDL):
|
||||
def __init__(self):
|
||||
def __init__(self, override=None):
|
||||
# Different instances of the downloader can't share the same dictionary
|
||||
# some test set the "sublang" parameter, which would break the md5 checks.
|
||||
params = get_params()
|
||||
params = get_params(override=override)
|
||||
super(FakeYDL, self).__init__(params)
|
||||
self.result = []
|
||||
|
||||
|
||||
Reference in new issue
Block a user