diff options
author | Sergey M․ <dstftw@gmail.com> | 2018-02-10 16:42:45 +0700 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2018-02-10 16:42:45 +0700 |
commit | a03a3c80fe7174e200af32425a77bfa2bde980d8 (patch) | |
tree | ff243065b2160fa62da7da720f06bd2c48032f33 /youtube_dl | |
parent | 9d5871fdffb945bf6084a4c30816c6917abd875b (diff) |
[YoutubeDL] Add support for filesize_approx in format selector (closes #15550)
Diffstat (limited to 'youtube_dl')
-rwxr-xr-x | youtube_dl/YoutubeDL.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/YoutubeDL.py b/youtube_dl/YoutubeDL.py index 925d095de..523dd1f7d 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]?)?) $ |