[YoutubeDL] Fix output template for missing timestamp (closes #12796)
authorSergey M․ <dstftw@gmail.com>
Sun, 23 Apr 2017 17:50:39 +0000 (00:50 +0700)
committerSergey M․ <dstftw@gmail.com>
Sun, 23 Apr 2017 17:50:39 +0000 (00:50 +0700)
youtube_dl/YoutubeDL.py

index 819b374efe67831d7a6bb829800f47ac200bf1a9..eb465c425a36c070deac3e702ba4592f051752d6 100755 (executable)
@@ -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',