add more cover regex, make all the regexes case-insensitive

main
xenofem 2024-02-08 00:06:30 -05:00
parent 33a65e3a2b
commit 2ee0c49b3d
1 changed files with 4 additions and 4 deletions

View File

@ -26,10 +26,10 @@ DLSITE_ID_REGEX = re.compile('^[BR]J[0-9]+$')
FANZA_ID_REGEX = re.compile('^d_[0-9]+$')
FAKKU_ID_REGEX = re.compile('.*_FAKKU$')
TEXTLESS_REGEX = re.compile('(台詞|セリフ|テキスト|文字)((な|無)し|抜き)|notext|textless')
EPILOGUE_REGEX = re.compile('after|後日談')
HI_RES_REGEX = re.compile('高解像度')
COVER_REGEX = re.compile('表紙|cover')
TEXTLESS_REGEX = re.compile('(台詞|セリフ|テキスト|文字)((な|無)し|抜き)|notext|textless', re.IGNORECASE)
EPILOGUE_REGEX = re.compile('after|後日談', re.IGNORECASE)
HI_RES_REGEX = re.compile('高解像度', re.IGNORECASE)
COVER_REGEX = re.compile('表紙|cover|hyoushi', re.IGNORECASE)
ALT_VERSIONS = [
'褐色',
'日焼け',