A feature-rich command-line audio/video downloader
[Openload] Fixed Extraction
Vijay Singh398887b4c09b
diff --git a/youtube_dl/extractor/openload.py b/youtube_dl/extractor/openload.pyindex 9a42ab895b..5ea749f35d 100644--- a/youtube_dl/extractor/openload.py+++ b/youtube_dl/extractor/openload.py@@ -96,14 +96,16 @@ class OpenloadIE(InfoExtractor):h = 0while h < len(v):- B = v[h:h + 2]+ B = v[h:h + 3]i = int(B, 16)- index = (h / 2) % 10+ if (h / 3) % 3 == 0:+ i = int(B, 8)+ index = (h / 3) % 10A = hashMap[index]- i = i ^ 96+ i = i ^ 47i = i ^ Avideo_url_chars.append(compat_chr(i))- h += 2+ h += 3video_url = 'https://openload.co/stream/%s?mime=true'video_url = video_url % (''.join(video_url_chars))