diff options
author | Yen Chi Hsuan <yan12125@gmail.com> | 2016-01-28 22:22:43 +0800 |
---|---|---|
committer | Yen Chi Hsuan <yan12125@gmail.com> | 2016-01-28 22:22:43 +0800 |
commit | 39c10a2b6ef05ad7320f578fb8f0cd2ef25ed181 (patch) | |
tree | b6b2a8e389315da266a37814021a40666e77555f /youtube_dl | |
parent | ed7cd1e859cf97e975a28a5e8c58a1d1aca819fe (diff) | |
parent | b913348d5fa1130ab1c65576e458407f262df6e1 (diff) | |
download | youtube-dl-39c10a2b6ef05ad7320f578fb8f0cd2ef25ed181.tar.xz |
Merge pull request #8346 from dyn888/dyn888-regex-1
Regex pattern update to match more codecs (fixes #6858)
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 09d2b18f2..e1bd40843 100755 --- a/youtube_dl/YoutubeDL.py +++ b/youtube_dl/YoutubeDL.py @@ -906,7 +906,7 @@ class YoutubeDL(object): str_operator_rex = re.compile(r'''(?x) \s*(?P<key>ext|acodec|vcodec|container|protocol) \s*(?P<op>%s)(?P<none_inclusive>\s*\?)? - \s*(?P<value>[a-zA-Z0-9_-]+) + \s*(?P<value>[a-zA-Z0-9._-]+) \s*$ ''' % '|'.join(map(re.escape, STR_OPERATORS.keys()))) m = str_operator_rex.search(filter_spec) |