commit 98908bcf7c50d034042ab86223b7689e91b589ba
parent 04b32c8f9679004d11ee97c2b7beecaedf1b477b
Author: Yen Chi Hsuan <yan12125@gmail.com>
Date: Sun, 28 Aug 2016 22:49:46 +0800
[openload] Update algorithm again (#10408)
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/youtube_dl/extractor/openload.py b/youtube_dl/extractor/openload.py
@@ -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)