mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-31 14:45:14 +00:00 
			
		
		
		
	[xminus] update tkn extraction regex
This commit is contained in:
		| @@ -50,7 +50,7 @@ class XMinusIE(InfoExtractor): | |||||||
|             webpage, 'view count', fatal=False)) |             webpage, 'view count', fatal=False)) | ||||||
|  |  | ||||||
|         enc_token = self._html_search_regex( |         enc_token = self._html_search_regex( | ||||||
|             r'data-mt="(.*?)"', webpage, 'enc_token') |             r'minus_track\.tkn="(.+?)"', webpage, 'enc_token') | ||||||
|         token = ''.join( |         token = ''.join( | ||||||
|             c if pos == 3 else compat_chr(compat_ord(c) - 1) |             c if pos == 3 else compat_chr(compat_ord(c) - 1) | ||||||
|             for pos, c in enumerate(reversed(enc_token))) |             for pos, c in enumerate(reversed(enc_token))) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 t0mm0
					t0mm0