mirror of https://github.com/yt-dlp/yt-dlp.git
[ie/vocaroo] Do not use deprecated `getheader` (#8606)
Authored by: qbnu
This commit is contained in:
parent
6fe82491ed
commit
f223b1b078
|
@ -57,7 +57,7 @@ class VocarooIE(InfoExtractor):
|
||||||
'title': '',
|
'title': '',
|
||||||
'url': url,
|
'url': url,
|
||||||
'ext': 'mp3',
|
'ext': 'mp3',
|
||||||
'timestamp': float_or_none(resp.getheader('x-bz-upload-timestamp'), scale=1000),
|
'timestamp': float_or_none(resp.headers.get('x-bz-upload-timestamp'), scale=1000),
|
||||||
'vcodec': 'none',
|
'vcodec': 'none',
|
||||||
'http_headers': http_headers,
|
'http_headers': http_headers,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue