From: John Peel Date: Fri, 18 Mar 2016 07:33:03 +0000 (-0700) Subject: Added format_id to the filers on -f. X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=d5aacf9a90e0855976401b6085ac56b66ca09d12;p=youtube-dl Added format_id to the filers on -f. --- 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*(?Pext|acodec|vcodec|container|protocol) + \s*(?Pext|acodec|vcodec|container|protocol|format_id) \s*(?P%s)(?P\s*\?)? \s*(?P[a-zA-Z0-9._-]+) \s*$