0
0
Fork 0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-26 02:55:17 +00:00

[openload] Fix extraction (#10408)

Thanks @TwelveCharzz again for studying openload codes
This commit is contained in:
Yen Chi Hsuan 2016-10-29 17:59:35 +08:00
parent f3517569f6
commit f02700a1fa
No known key found for this signature in database
GPG key ID: 3FDDD575826C5C30
2 changed files with 2 additions and 1 deletions

View file

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

View file

@ -82,7 +82,7 @@ def _real_extract(self, url):
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)