1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-10-03 19:21:21 -04:00

Let --match-filter reject entries early

Makes redundant: `--match-title`, `--reject-title`, `--min-views`, `--max-views`
This commit is contained in:
pukkandan
2021-08-15 13:42:23 +05:30
parent 3ad56b4236
commit 8f18aca871
5 changed files with 40 additions and 24 deletions

View File

@@ -1439,6 +1439,10 @@ While these options are redundant, they are still expected to be used due to the
-e, --get-title --print title
-g, --get-url --print urls
-j, --dump-json --print "%()j"
--match-title REGEX --match-filter "title ~= (?i)REGEX"
--reject-title REGEX --match-filter "title !~= (?i)REGEX"
--min-views COUNT --match-filter "view_count >=? COUNT"
--max-views COUNT --match-filter "view_count <=? COUNT"
#### Not recommended