[openload] Temporary fix (#10408)
authorYen Chi Hsuan <yan12125@gmail.com>
Sun, 11 Sep 2016 10:36:59 +0000 (18:36 +0800)
committerYen Chi Hsuan <yan12125@gmail.com>
Sun, 11 Sep 2016 10:36:59 +0000 (18:36 +0800)
youtube_dl/extractor/openload.py

index 03baf8e32d4ae89b8c54a24ad3a2580e81d1ec01..76316ca2f50c7c42649bd8dbbdf2285dbd4af05f 100644 (file)
@@ -60,7 +60,7 @@ class OpenloadIE(InfoExtractor):
             if j >= 33 and j <= 126:
                 j = ((j + 14) % 94) + 33
             if idx == len(enc_data) - 1:
-                j += 1
+                j += 3
             video_url_chars += compat_chr(j)
 
         video_url = 'https://openload.co/stream/%s?mime=true' % ''.join(video_url_chars)