summary refs log tree commit diff
diff options
context:
space:
mode:
authorVijay Singh <sudovijay@users.noreply.github.com>2017-03-20 09:22:32 +0530
committerYen Chi Hsuan <yan12125@gmail.com>2017-03-20 16:15:00 +0800
commit957f453429d584615ac4d2277caeb0d75d0fe1d9 (patch)
tree79d500096ad205f73e0f1b33e3483e169c168ffe
parent0e9a73e6120965fc2c2a1a2a1a30f7d38af4c73a (diff)
downloadyoutube-dl-957f453429d584615ac4d2277caeb0d75d0fe1d9.tar.gz
youtube-dl-957f453429d584615ac4d2277caeb0d75d0fe1d9.tar.xz
youtube-dl-957f453429d584615ac4d2277caeb0d75d0fe1d9.zip
[Openload.co] Fixed Extraction
They did it again. just a minor change though. here's quick fix
-rw-r--r--youtube_dl/extractor/openload.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/openload.py b/youtube_dl/extractor/openload.py
index 435aec28e..58ffde541 100644
--- a/youtube_dl/extractor/openload.py
+++ b/youtube_dl/extractor/openload.py
@@ -110,7 +110,7 @@ class OpenloadIE(InfoExtractor):
             elif H % 2 == 0 and H != 0 and ord(v[H - 1]) < 60:
                 i = int(C, 10)
                 h += 1
-            index = H % 12
+            index = H % 7
 
             A = hashMap[index]
             i ^= 213