diff --git a/yt_dlp/extractor/vocaroo.py b/yt_dlp/extractor/vocaroo.py index d98fbfd2d9..e30c9597f7 100644 --- a/yt_dlp/extractor/vocaroo.py +++ b/yt_dlp/extractor/vocaroo.py @@ -57,7 +57,7 @@ def _real_extract(self, url): 'title': '', 'url': url, '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', 'http_headers': http_headers, }