projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9617b55
)
[meta] Clarify the source of uppod st decryption algorithm
author
Remita Amine
<remitamine@gmail.com>
Thu, 30 Jun 2016 17:27:57 +0000
(18:27 +0100)
committer
Remita Amine
<remitamine@gmail.com>
Thu, 30 Jun 2016 17:27:57 +0000
(18:27 +0100)
youtube_dl/extractor/meta.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/meta.py
b/youtube_dl/extractor/meta.py
index 42bedc48fa07ccdfd876ead9fc2c5bfa22a63988..cdb46e163b07d432b69a3cb3a32e2e365dbadfcb 100644
(file)
--- a/
youtube_dl/extractor/meta.py
+++ b/
youtube_dl/extractor/meta.py
@@
-42,6
+42,7
@@
class METAIE(InfoExtractor):
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 += '�%s;' % st_html5[i:i + 3]