aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl
diff options
context:
space:
mode:
authordirkf <fieldhouse@gmx.net>2023-05-11 20:53:07 +0100
committerdirkf <fieldhouse@gmx.net>2023-05-11 20:53:07 +0100
commit11cc3f3ad03a88d6cb1eab18a8e5dd6bf148ac54 (patch)
treebf63cb2ca9252de62037fa9fae598556f163d82c /youtube_dl
parent64d6dd64c8b7a35a87655d27fc83f2e98ef6ce13 (diff)
downloadyoutube-dl-11cc3f3ad03a88d6cb1eab18a8e5dd6bf148ac54.tar.xz
[utils] Fix `compiled_regex_type` in 249f2b6
Diffstat (limited to 'youtube_dl')
-rw-r--r--youtube_dl/utils.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/youtube_dl/utils.py b/youtube_dl/utils.py
index 65ddb3b0f..584581b6a 100644
--- a/youtube_dl/utils.py
+++ b/youtube_dl/utils.py
@@ -56,6 +56,7 @@ from .compat import (
compat_kwargs,
compat_os_name,
compat_re_Match,
+ compat_re_Pattern,
compat_shlex_quote,
compat_str,
compat_struct_pack,
@@ -86,7 +87,7 @@ def register_socks_protocols():
# Unfavoured alias
-compiled_regex_type = compat_re_Match
+compiled_regex_type = compat_re_Pattern
def random_user_agent():