A feature-rich command-line audio/video downloader
[YoutubeDL] Add support for filesize_approx in format selector (closes #15550)
Sergey M․a03a3c80fe71
diff --git a/youtube_dl/YoutubeDL.py b/youtube_dl/YoutubeDL.pyindex 925d095dec..523dd1f7da 100755--- a/youtube_dl/YoutubeDL.py+++ b/youtube_dl/YoutubeDL.py@@ -1033,7 +1033,7 @@ class YoutubeDL(object):'!=': operator.ne,}operator_rex = re.compile(r'''(?x)\s*- (?P<key>width|height|tbr|abr|vbr|asr|filesize|fps)+ (?P<key>width|height|tbr|abr|vbr|asr|filesize|filesize_approx|fps)\s*(?P<op>%s)(?P<none_inclusive>\s*\?)?\s*(?P<value>[0-9.]+(?:[kKmMgGtTpPeEzZyY]i?[Bb]?)?)$