diff options
author | Sergey M․ <dstftw@gmail.com> | 2020-12-07 01:15:30 +0700 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2020-12-07 01:15:30 +0700 |
commit | dccf4932e15392a35a44c24a2732cc0ea6deada4 (patch) | |
tree | 4dcebb4666c9b91905dee6f95424bc793395f642 /youtube_dl/extractor/generic.py | |
parent | 91dd25fe1e18aa3f617005799a8f5018a551c7dd (diff) |
[extractor/common] Extract timestamp from Last-Modified header
Diffstat (limited to 'youtube_dl/extractor/generic.py')
-rw-r--r-- | youtube_dl/extractor/generic.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/generic.py b/youtube_dl/extractor/generic.py index 85dc1d02d..055ca838f 100644 --- a/youtube_dl/extractor/generic.py +++ b/youtube_dl/extractor/generic.py @@ -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 |