1
0
mirror of https://github.com/l1ving/youtube-dl synced 2025-02-03 16:33:22 +08:00

replacing compat_ord with ord

This commit is contained in:
denneboomyo 2017-03-04 17:51:35 +01:00 committed by GitHub
parent 26cf471205
commit 949054c0ba

View File

@ -77,7 +77,7 @@ class OpenloadIE(InfoExtractor):
video_url_chars = []
first_char = compat_ord(ol_id[0])
first_char = ord(ol_id[0])
key = first_char - 55
maxKey = max(2, key)
key = min(maxKey, len(ol_id) - 14)