From dcb70de3a87d06271602cce606d14d99a3da1315 Mon Sep 17 00:00:00 2001 From: denneboomyo Date: Sat, 4 Mar 2017 21:02:54 +0100 Subject: [PATCH] space idents --- youtube_dl/extractor/openload.py | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/youtube_dl/extractor/openload.py b/youtube_dl/extractor/openload.py index ff7b29a72..25f6a9aca 100644 --- a/youtube_dl/extractor/openload.py +++ b/youtube_dl/extractor/openload.py @@ -88,21 +88,21 @@ class OpenloadIE(InfoExtractor): h = 0 while h < len(t): - f = t[h:h + 2] - i = int(f, 16) - hashMap[h / 2] = i - h += 2 + f = t[h:h + 2] + i = int(f, 16) + hashMap[h / 2] = i + h += 2 h = 0 while h < len(v): - B = v[h:h + 2] - i = int(B, 16) - index = (h / 2) % 6 - A = hashMap[index] - i = i ^ A - video_url_chars.append(compat_chr(i)) - h += 2 + B = v[h:h + 2] + i = int(B, 16) + index = (h / 2) % 6 + A = hashMap[index] + i = i ^ A + video_url_chars.append(compat_chr(i)) + h += 2 video_url = 'https://openload.co/stream/%s?mime=true' video_url = video_url % (''.join(video_url_chars))