aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/openload.py
diff options
context:
space:
mode:
authorYen Chi Hsuan <yan12125@gmail.com>2016-10-29 17:59:35 +0800
committerYen Chi Hsuan <yan12125@gmail.com>2016-10-29 18:00:30 +0800
commitf02700a1fa83205840fefe9ae86ccfe13a8cf748 (patch)
tree9e928314fe9de19600819d3d60f342906a5c2126 /youtube_dl/extractor/openload.py
parentf3517569f60345a3948ce145fb603fe2a71b2d6f (diff)
[openload] Fix extraction (#10408)
Thanks @TwelveCharzz again for studying openload codes
Diffstat (limited to 'youtube_dl/extractor/openload.py')
-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 6cf7e4a77..d3d4101de 100644
--- a/youtube_dl/extractor/openload.py
+++ b/youtube_dl/extractor/openload.py
@@ -82,7 +82,7 @@ class OpenloadIE(InfoExtractor):
if j >= 33 and j <= 126:
j = ((j + 14) % 94) + 33
if idx == len(enc_data) - 1:
- j += 2
+ j += 3
video_url_chars += compat_chr(j)
video_url = 'https://openload.co/stream/%s?mime=true' % ''.join(video_url_chars)