1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-10 13:12:45 +01:00

[meta] Clarify the source of uppod st decryption algorithm

This commit is contained in:
Remita Amine 2016-06-30 18:27:57 +01:00
parent 9617b557aa
commit 76dad392f5

View File

@ -42,6 +42,7 @@ def _real_extract(self, url):
r"st_html5\s*=\s*'#([^']+)'", webpage, 'uppod html5 st', default=None)
if st_html5:
# uppod st decryption algorithm is reverse engineered from function un(s) at uppod.js
json_str = ''
for i in range(0, len(st_html5), 3):
json_str += '&#x0%s;' % st_html5[i:i + 3]