youtube-dl

Another place where youtube-dl lives on
git clone git://git.oshgnacknak.de/youtube-dl.git
Log | Files | Refs | README | LICENSE

commit f5ca97e393badab4efa07e358b051318955d0b6f
parent 8d06a62485ddd2cff396287f6b39614afd1e6033
Author: Sergey M․ <dstftw@gmail.com>
Date:   Thu,  2 Jul 2015 20:20:09 +0600

[npo] Clarify token decryption algorithm source

Diffstat:
Myoutube_dl/extractor/npo.py | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git 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.js token_l = list(token) first = second = None for i in range(5, len(token_l) - 4):