From: Yen Chi Hsuan Date: Sat, 29 Oct 2016 09:59:35 +0000 (+0800) Subject: [openload] Fix extraction (#10408) X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=f02700a1fa83205840fefe9ae86ccfe13a8cf748;hp=f3517569f60345a3948ce145fb603fe2a71b2d6f;p=youtube-dl [openload] Fix extraction (#10408) Thanks @TwelveCharzz again for studying openload codes --- diff --git a/ChangeLog b/ChangeLog index b4de1d35f..b2aafcf02 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,7 @@ version Extractors +* [openload] Fix extraction (#10408) * [adultswim] Fix extraction (#10979) * [hornbunny] Fix extraction (#10981) 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)