[openload] Fix extraction
authorVijay Singh <sudovijay@users.noreply.github.com>
Sun, 12 Mar 2017 20:22:35 +0000 (01:52 +0530)
committerSergey M <dstftw@gmail.com>
Sun, 12 Mar 2017 20:22:35 +0000 (04:22 +0800)
Just a minor fix for openload

youtube_dl/extractor/openload.py

index 5a560735782420ae7f79ba7ac7498b118274d0ad..9a42ab895bf3ce78607e36e85c82b54196aaefdf 100644 (file)
@@ -100,7 +100,7 @@ class OpenloadIE(InfoExtractor):
             i = int(B, 16)
             index = (h / 2) % 10
             A = hashMap[index]
-            i = i ^ 137
+            i = i ^ 96
             i = i ^ A
             video_url_chars.append(compat_chr(i))
             h += 2