aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYen Chi Hsuan <yan12125@gmail.com>2016-08-28 22:49:46 +0800
committerYen Chi Hsuan <yan12125@gmail.com>2016-08-28 22:49:46 +0800
commit98908bcf7c50d034042ab86223b7689e91b589ba (patch)
tree83246361c86086d9b6b8e20586ea980e554b94ff
parent04b32c8f9679004d11ee97c2b7beecaedf1b477b (diff)
downloadyoutube-dl-98908bcf7c50d034042ab86223b7689e91b589ba.zip
youtube-dl-98908bcf7c50d034042ab86223b7689e91b589ba.tar.gz
youtube-dl-98908bcf7c50d034042ab86223b7689e91b589ba.tar.bz2
[openload] Update algorithm again (#10408)
-rw-r--r--youtube_dl/extractor/openload.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/openload.py b/youtube_dl/extractor/openload.py
index c8dde7a..03baf8e 100644
--- 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)