aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/meta.py
diff options
context:
space:
mode:
authorRemita Amine <remitamine@gmail.com>2016-06-30 18:27:57 +0100
committerRemita Amine <remitamine@gmail.com>2016-06-30 18:27:57 +0100
commit76dad392f5bd82493777d8efc35bcfccf70fafec (patch)
treec1f06c6b665130ad7a562fcd0d718a8b214614f4 /youtube_dl/extractor/meta.py
parent9617b557aa2a96840026a9c915bc57e335a76272 (diff)
[meta] Clarify the source of uppod st decryption algorithm
Diffstat (limited to 'youtube_dl/extractor/meta.py')
-rw-r--r--youtube_dl/extractor/meta.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/youtube_dl/extractor/meta.py b/youtube_dl/extractor/meta.py
index 42bedc48f..cdb46e163 100644
--- 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 += '&#x0%s;' % st_html5[i:i + 3]