about summary refs log tree commit diff
path: root/youtube_dl/YoutubeDL.py
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2017-04-24 00:50:39 +0700
committerSergey M․ <dstftw@gmail.com>2017-04-24 00:50:39 +0700
commita4d6cf970ca17f1112465353ec1c2aa857dd2e69 (patch)
tree5e81cdb595a55278f762bd37b8e678452a8aba6b /youtube_dl/YoutubeDL.py
parent3019cb0c9976481cf2afaf0a2005d90040204fa0 (diff)
downloadyoutube-dl-a4d6cf970ca17f1112465353ec1c2aa857dd2e69.tar.gz
youtube-dl-a4d6cf970ca17f1112465353ec1c2aa857dd2e69.tar.xz
youtube-dl-a4d6cf970ca17f1112465353ec1c2aa857dd2e69.zip
[YoutubeDL] Fix output template for missing timestamp (closes #12796)
Diffstat (limited to 'youtube_dl/YoutubeDL.py')
-rwxr-xr-xyoutube_dl/YoutubeDL.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/YoutubeDL.py b/youtube_dl/YoutubeDL.py
index 819b374ef..eb465c425 100755
--- a/youtube_dl/YoutubeDL.py
+++ b/youtube_dl/YoutubeDL.py
@@ -640,7 +640,7 @@ class YoutubeDL(object):
 
             NUMERIC_FIELDS = set((
                 'width', 'height', 'tbr', 'abr', 'asr', 'vbr', 'fps', 'filesize', 'filesize_approx',
-                'upload_year', 'upload_month', 'upload_day',
+                'timestamp', 'upload_year', 'upload_month', 'upload_day',
                 'duration', 'view_count', 'like_count', 'dislike_count', 'repost_count',
                 'average_rating', 'comment_count', 'age_limit',
                 'start_time', 'end_time',