]> gitweb @ CieloNegro.org - youtube-dl.git/commitdiff
[openload] Fix extraction (#10408)
authorYen Chi Hsuan <yan12125@gmail.com>
Sat, 29 Oct 2016 09:59:35 +0000 (17:59 +0800)
committerYen Chi Hsuan <yan12125@gmail.com>
Sat, 29 Oct 2016 10:00:30 +0000 (18:00 +0800)
Thanks @TwelveCharzz again for studying openload codes

ChangeLog
youtube_dl/extractor/openload.py

index b4de1d35f43195fb0440e424abbfb77af15baa5e..b2aafcf0217d80cbb7459c269e62daad4833bf91 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,7 @@
 version <unreleased>
 
 Extractors
+* [openload] Fix extraction (#10408)
 * [adultswim] Fix extraction (#10979)
 * [hornbunny] Fix extraction (#10981)
 
index 6cf7e4a77a4e92801530489f0092ed489b838e40..d3d4101de8a84edda5ec641d299ed7e3813a2910 100644 (file)
@@ -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)