replace 'util.re()' with 'text.re()'

remove unnecessary 'util' imports
This commit is contained in:
Mike Fährmann
2025-10-20 17:44:58 +02:00
parent c8fc790028
commit 9bf76c1352
42 changed files with 91 additions and 91 deletions

View File

@@ -128,7 +128,7 @@ class ZerochanExtractor(BooruExtractor):
return data
def _parse_json(self, txt):
txt = util.re(r"[\x00-\x1f\x7f]").sub("", txt)
txt = text.re(r"[\x00-\x1f\x7f]").sub("", txt)
main, _, tags = txt.partition('tags": [')
item = {}