From 50c394f33f75d1dd603707973594cf768f10cd0d Mon Sep 17 00:00:00 2001 From: xenofem Date: Mon, 1 Apr 2024 23:11:28 -0400 Subject: [PATCH] more debug, more regex --- dlibrary/dlibrary.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/dlibrary/dlibrary.py b/dlibrary/dlibrary.py index e4d8867..6baf32f 100755 --- a/dlibrary/dlibrary.py +++ b/dlibrary/dlibrary.py @@ -52,7 +52,7 @@ LANGUAGE_REGEXES = { 'ko_KR': re.compile('한국어', re.I), } -TEXTLESS_REGEX = re.compile('(台詞|セリフ|せりふ|テキスト|文字)((な|無)し|抜き)|notext|textless', re.I) +TEXTLESS_REGEX = re.compile('(台詞|セリフ|せりふ|テキスト|文字|文章)((な|無)し|抜き)|notext|textless', re.I) FXLESS_REGEX = re.compile('効果音(な|無)し', re.I) FRONT_COVER_REGEX = re.compile('(? pairs[1-i][0] and pairs[i][1] > pairs[1-i][1]: return self.collate_from_paths([dirs[i]] + non_dirs) + debug(f'Checking image quality regexes') for quality in IMAGE_QUALITY_REGEXES: def a_not_b(a, b, src): if a in quality: