diff options
author | James Taylor <user234683@users.noreply.github.com> | 2020-12-26 19:35:45 -0800 |
---|---|---|
committer | Jesús <heckyel@hyperbola.info> | 2020-12-28 11:43:57 -0500 |
commit | e1fe6b1d8e195de2c2fed8d9e6a06a6f4bc6f22c (patch) | |
tree | 4e45c3c2194063cf13f44b8254db9f3e8f573076 /youtube/util.py | |
parent | b567a34ecd0c9c627d22faab97393107eccc314c (diff) | |
download | yt-local-e1fe6b1d8e195de2c2fed8d9e6a06a6f4bc6f22c.tar.lz yt-local-e1fe6b1d8e195de2c2fed8d9e6a06a6f4bc6f22c.tar.xz yt-local-e1fe6b1d8e195de2c2fed8d9e6a06a6f4bc6f22c.zip |
Remove obsolete uppercase_escape function
This function was only necessary with the old ajax format, which
was removed in 4d7bba92eb62518e2273d030235214f4a7605444
Signed-off-by: Jesús <heckyel@hyperbola.info>
Diffstat (limited to 'youtube/util.py')
-rw-r--r-- | youtube/util.py | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/youtube/util.py b/youtube/util.py index 1d7eb59..e7b12ad 100644 --- a/youtube/util.py +++ b/youtube/util.py @@ -476,12 +476,6 @@ def update_query_string(query_string, items): return urllib.parse.urlencode(parameters, doseq=True) -def uppercase_escape(s): - return re.sub( - r'\\U([0-9a-fA-F]{8})', - lambda m: chr(int(m.group(1), base=16)), s) - - def prefix_url(url): if url is None: return None |