Browse Source

[openload] Fix extraction (#10408)

Thanks @TwelveCharzz again for studying openload codes
totalwebcasting
Yen Chi Hsuan 8 years ago
parent
commit
f02700a1fa
No known key found for this signature in database GPG Key ID: 3FDDD575826C5C30
2 changed files with 2 additions and 1 deletions
  1. +1
    -0
      ChangeLog
  2. +1
    -1
      youtube_dl/extractor/openload.py

+ 1
- 0
ChangeLog View File

@ -1,6 +1,7 @@
version <unreleased> version <unreleased>
Extractors Extractors
* [openload] Fix extraction (#10408)
* [adultswim] Fix extraction (#10979) * [adultswim] Fix extraction (#10979)
* [hornbunny] Fix extraction (#10981) * [hornbunny] Fix extraction (#10981)


+ 1
- 1
youtube_dl/extractor/openload.py View File

@ -82,7 +82,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 += 3
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)


Loading…
Cancel
Save