A feature-rich command-line audio/video downloader
[npo] Clarify token decryption algorithm source
Sergey M․f5ca97e393ba
diff --git a/youtube_dl/extractor/npo.py b/youtube_dl/extractor/npo.pyindex 41d7e3fcc0..62d12b7a66 100644--- a/youtube_dl/extractor/npo.py+++ b/youtube_dl/extractor/npo.py@@ -18,6 +18,7 @@ class NPOBaseIE(InfoExtractor):video_id, note='Downloading token')token = self._search_regex(r'npoplayer\.token = "(.+?)"', token_page, 'token')+ # Decryption algorithm extracted from http://npoplayer.omroep.nl/csjs/npoplayer-min.jstoken_l = list(token)first = second = Nonefor i in range(5, len(token_l) - 4):