mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-10-31 22:55:26 +00:00
[extractor/common] Extract timestamp from Last-Modified header
This commit is contained in:
parent
91dd25fe1e
commit
dccf4932e1
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue