include full-width numerals in number regex

main
xenofem 2024-02-08 04:54:36 -05:00
parent b7f9099fc0
commit d06ea132af
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ from PIL import Image
from jinja2 import Environment, PackageLoader, select_autoescape
import requests
NUMBER_REGEX = re.compile('[0-9]+')
NUMBER_REGEX = re.compile('[0-9-]+')
DLSITE_ID_REGEX = re.compile('^[BR]J[0-9]+$')
FANZA_ID_REGEX = re.compile('^d_[0-9]+$')