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

@@ -9,7 +9,7 @@
"""Extractors for https://vk.com/"""
from .common import Extractor, Message
from .. import text, util, exception
from .. import text, exception
BASE_PATTERN = r"(?:https://)?(?:www\.|m\.)?vk\.com"
@@ -36,7 +36,7 @@ class VkExtractor(Extractor):
return num
def items(self):
subn = util.re(r"/imp[fg]/").subn
subn = text.re(r"/imp[fg]/").subn
sizes = "wzyxrqpo"
data = self.metadata()