2
0
Эх сурвалжийг харах

[openload] Update algorithm again (#10408)

Yen Chi Hsuan 9 жил өмнө
parent
commit
98908bcf7c

+ 1 - 1
youtube_dl/extractor/openload.py

@@ -60,7 +60,7 @@ class OpenloadIE(InfoExtractor):
             if j >= 33 and j <= 126:
             if j >= 33 and j <= 126:
                 j = ((j + 14) % 94) + 33
                 j = ((j + 14) % 94) + 33
             if idx == len(enc_data) - 1:
             if idx == len(enc_data) - 1:
-                j += 2
+                j += 1
             video_url_chars += compat_chr(j)
             video_url_chars += compat_chr(j)
 
 
         video_url = 'https://openload.co/stream/%s?mime=true' % ''.join(video_url_chars)
         video_url = 'https://openload.co/stream/%s?mime=true' % ''.join(video_url_chars)