[Openload.co] Fixed Extraction
authorVijay Singh <sudovijay@users.noreply.github.com>
Mon, 20 Mar 2017 03:52:32 +0000 (09:22 +0530)
committerYen Chi Hsuan <yan12125@gmail.com>
Mon, 20 Mar 2017 08:15:00 +0000 (16:15 +0800)
They did it again. just a minor change though. here's quick fix

youtube_dl/extractor/openload.py

index 435aec28e2fbf20e29399c12281ff7d7c6a9fa3f..58ffde541451bbaf863a82a0bb0986d27a8fcf4f 100644 (file)
@@ -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