diff options
author | pukkandan <pukkandan.ytdlp@gmail.com> | 2022-02-03 21:21:42 +0530 |
---|---|---|
committer | pukkandan <pukkandan.ytdlp@gmail.com> | 2022-02-03 22:23:24 +0530 |
commit | d5a398988bb4db5ea610e3cb2548f0e084a1137e (patch) | |
tree | 0ec7987f7658959928b5f1034b307412b576a721 /yt_dlp/compat.py | |
parent | 455a15e2dcf29b4712d92a89a95ad5f3ddad69a1 (diff) | |
download | hypervideo-pre-d5a398988bb4db5ea610e3cb2548f0e084a1137e.tar.lz hypervideo-pre-d5a398988bb4db5ea610e3cb2548f0e084a1137e.tar.xz hypervideo-pre-d5a398988bb4db5ea610e3cb2548f0e084a1137e.zip |
Update to ytdl-commit-78ce962
[youtube] Support channel search
https://github.com/ytdl-org/youtube-dl/commit/78ce962f4fe020994c216dd2671546fbe58a5c67
Diffstat (limited to 'yt_dlp/compat.py')
-rw-r--r-- | yt_dlp/compat.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/yt_dlp/compat.py b/yt_dlp/compat.py index 79c8e3494..b97d4512e 100644 --- a/yt_dlp/compat.py +++ b/yt_dlp/compat.py @@ -2,6 +2,7 @@ import asyncio import base64 +import collections import ctypes import getpass import html @@ -180,14 +181,17 @@ def windows_enable_vt_mode(): # TODO: Do this the proper way https://bugs.pytho compat_basestring = str compat_chr = chr +compat_filter = filter compat_input = input compat_integer_types = (int, ) compat_kwargs = lambda kwargs: kwargs +compat_map = map compat_numeric_types = (int, float, complex) compat_str = str compat_xpath = lambda xpath: xpath compat_zip = zip +compat_collections_abc = collections.abc compat_HTMLParser = html.parser.HTMLParser compat_HTTPError = urllib.error.HTTPError compat_Struct = struct.Struct @@ -245,6 +249,7 @@ __all__ = [ 'compat_b64decode', 'compat_basestring', 'compat_chr', + 'compat_collections_abc', 'compat_cookiejar', 'compat_cookiejar_Cookie', 'compat_cookies', @@ -254,6 +259,7 @@ __all__ = [ 'compat_etree_fromstring', 'compat_etree_register_namespace', 'compat_expanduser', + 'compat_filter', 'compat_get_terminal_size', 'compat_getenv', 'compat_getpass', @@ -265,6 +271,7 @@ __all__ = [ 'compat_integer_types', 'compat_itertools_count', 'compat_kwargs', + 'compat_map', 'compat_numeric_types', 'compat_ord', 'compat_os_name', |