[openload] Update algorithm again (#10408)
authorYen Chi Hsuan <yan12125@gmail.com>
Sun, 28 Aug 2016 14:49:46 +0000 (22:49 +0800)
committerYen Chi Hsuan <yan12125@gmail.com>
Sun, 28 Aug 2016 14:49:46 +0000 (22:49 +0800)
youtube_dl/extractor/openload.py

index c8dde7ae325c01363dce7b8c92a74506ba57558e..03baf8e32d4ae89b8c54a24ad3a2580e81d1ec01 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 += 2
+                j += 1
             video_url_chars += compat_chr(j)
 
         video_url = 'https://openload.co/stream/%s?mime=true' % ''.join(video_url_chars)