mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-11-20 12:24:57 +00:00
[meta] Clarify the source of uppod st decryption algorithm
This commit is contained in:
parent
9617b557aa
commit
76dad392f5
@ -42,6 +42,7 @@ class METAIE(InfoExtractor):
|
|||||||
r"st_html5\s*=\s*'#([^']+)'", webpage, 'uppod html5 st', default=None)
|
r"st_html5\s*=\s*'#([^']+)'", webpage, 'uppod html5 st', default=None)
|
||||||
|
|
||||||
if st_html5:
|
if st_html5:
|
||||||
|
# uppod st decryption algorithm is reverse engineered from function un(s) at uppod.js
|
||||||
json_str = ''
|
json_str = ''
|
||||||
for i in range(0, len(st_html5), 3):
|
for i in range(0, len(st_html5), 3):
|
||||||
json_str += '�%s;' % st_html5[i:i + 3]
|
json_str += '�%s;' % st_html5[i:i + 3]
|
||||||
|
Loading…
Reference in New Issue
Block a user