mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-12-22 16:57:40 +00:00
[xminus] update tkn extraction regex
This commit is contained in:
parent
42939b6129
commit
313d4572ce
1 changed files with 1 additions and 1 deletions
|
@ -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)))
|
||||
|
|
Loading…
Reference in a new issue