mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2026-04-03 15:42:38 +00:00
Update yt_dlp/extractor/anvato.py
Co-authored-by: bashonly <88596187+bashonly@users.noreply.github.com>
This commit is contained in:
parent
b10d82d4fb
commit
496b865eb2
@ -233,7 +233,7 @@ class AnvatoIE(InfoExtractor):
|
||||
input_data = f'{server_time}~{md5_text(video_data_url)}~{md5_text(server_time)}'
|
||||
|
||||
auth_secret = bytes(aes_encrypt(
|
||||
list(input_data[:64]).encode(), list(self._AUTH_KEY)))
|
||||
list(input_data[:64].encode()), list(self._AUTH_KEY)))
|
||||
query = {
|
||||
'X-Anvato-Adst-Auth': base64.b64encode(auth_secret).decode('ascii'),
|
||||
'rtyp': 'fp',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user