mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-01-07 17:16:08 +00:00
[utils] Fix compiled_regex_type
in 249f2b6
This commit is contained in:
parent
64d6dd64c8
commit
11cc3f3ad0
|
@ -56,6 +56,7 @@ from .compat import (
|
||||||
compat_kwargs,
|
compat_kwargs,
|
||||||
compat_os_name,
|
compat_os_name,
|
||||||
compat_re_Match,
|
compat_re_Match,
|
||||||
|
compat_re_Pattern,
|
||||||
compat_shlex_quote,
|
compat_shlex_quote,
|
||||||
compat_str,
|
compat_str,
|
||||||
compat_struct_pack,
|
compat_struct_pack,
|
||||||
|
@ -86,7 +87,7 @@ def register_socks_protocols():
|
||||||
|
|
||||||
|
|
||||||
# Unfavoured alias
|
# Unfavoured alias
|
||||||
compiled_regex_type = compat_re_Match
|
compiled_regex_type = compat_re_Pattern
|
||||||
|
|
||||||
|
|
||||||
def random_user_agent():
|
def random_user_agent():
|
||||||
|
|
Loading…
Reference in a new issue