projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
04b32c8
)
[openload] Update algorithm again (#10408)
author
Yen Chi Hsuan
<yan12125@gmail.com>
Sun, 28 Aug 2016 14:49:46 +0000
(22:49 +0800)
committer
Yen Chi Hsuan
<yan12125@gmail.com>
Sun, 28 Aug 2016 14:49:46 +0000
(22:49 +0800)
youtube_dl/extractor/openload.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/openload.py
b/youtube_dl/extractor/openload.py
index c8dde7ae325c01363dce7b8c92a74506ba57558e..03baf8e32d4ae89b8c54a24ad3a2580e81d1ec01 100644
(file)
--- 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)