From c99f4bd3d36933f5cda3ad489fffb93158d2522e Mon Sep 17 00:00:00 2001 From: gillouche Date: Wed, 2 Mar 2016 21:42:47 +0100 Subject: [PATCH] allows more possibilities for the match filter options --- README.md | 10 +++++++++- test/test_utils.py | 19 +++++++++++++++++++ youtube_dl/utils.py | 2 +- 3 files changed, 29 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d66804a7a..d3e950869 100644 --- a/README.md +++ b/README.md @@ -144,7 +144,15 @@ which means you can modify it, redistribute it or use it however you like. functionality is not available at the given service), but who also have a description, use --match-filter "like_count > 100 & - dislike_count 100 & dislike_count %s)(?P\s*\?)?\s* (?: (?P[0-9.]+(?:[kKmMgGtTpPeEzZyY]i?[Bb]?)?)| - (?P(?![0-9.])[a-z0-9A-Z]*) + (?P(?![0-9.])[a-z0-9A-Z\s_-]*) ) \s*$ ''' % '|'.join(map(re.escape, COMPARISON_OPERATORS.keys())))