From 313d4572ce782a639e42b454edadc0b24d7799a1 Mon Sep 17 00:00:00 2001 From: t0mm0 Date: Sun, 30 Nov 2014 16:04:04 +0000 Subject: [PATCH] [xminus] update tkn extraction regex --- youtube_dl/extractor/xminus.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube_dl/extractor/xminus.py b/youtube_dl/extractor/xminus.py index a3fd8f48c..f7e2e8ac9 100644 --- a/youtube_dl/extractor/xminus.py +++ b/youtube_dl/extractor/xminus.py @@ -50,7 +50,7 @@ class XMinusIE(InfoExtractor): webpage, 'view count', fatal=False)) enc_token = self._html_search_regex( - r'data-mt="(.*?)"', webpage, 'enc_token') + r'minus_track\.tkn="(.+?)"', webpage, 'enc_token') token = ''.join( c if pos == 3 else compat_chr(compat_ord(c) - 1) for pos, c in enumerate(reversed(enc_token)))