[xminus] update tkn extraction regex

This commit is contained in:
t0mm0 2014-11-30 16:04:04 +00:00
parent 42939b6129
commit 313d4572ce

View file

@ -50,7 +50,7 @@ def _real_extract(self, url):
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)))