[extractor/common] Extract timestamp from Last-Modified header

pull/27331/head
Sergey M․ 2020-12-07 01:15:30 +07:00
parent 91dd25fe1e
commit dccf4932e1
No known key found for this signature in database
GPG Key ID: 2C393E0F18A9236D
1 changed files with 1 additions and 1 deletions

View File

@ -2360,7 +2360,7 @@ class GenericIE(InfoExtractor):
info_dict = {
'id': video_id,
'title': self._generic_title(url),
'upload_date': unified_strdate(head_response.headers.get('Last-Modified'))
'timestamp': unified_timestamp(head_response.headers.get('Last-Modified'))
}
# Check for direct link to a video