diff options
author | John Peel <john@dgby.org> | 2016-03-18 00:33:03 -0700 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2016-03-18 23:59:24 +0600 |
commit | d5aacf9a90e0855976401b6085ac56b66ca09d12 (patch) | |
tree | 5fe506ffd54d55256843785e278cdc4d0aa92b64 /youtube_dl | |
parent | 19e2617a6fb614a84340757dacb2ea918c097a84 (diff) |
Added format_id to the filers on -f.
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 8c651cd52..93b6ca54d 100755 --- a/youtube_dl/YoutubeDL.py +++ b/youtube_dl/YoutubeDL.py @@ -905,7 +905,7 @@ class YoutubeDL(object): '*=': lambda attr, value: value in attr, } str_operator_rex = re.compile(r'''(?x) - \s*(?P<key>ext|acodec|vcodec|container|protocol) + \s*(?P<key>ext|acodec|vcodec|container|protocol|format_id) \s*(?P<op>%s)(?P<none_inclusive>\s*\?)? \s*(?P<value>[a-zA-Z0-9._-]+) \s*$ |