mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-31 06:30:44 +00:00 
			
		
		
		
	Rename upload_timestamp to timestamp
This commit is contained in:
		| @@ -97,9 +97,9 @@ class InfoExtractor(object): | ||||
|     thumbnail:      Full URL to a video thumbnail image. | ||||
|     description:    One-line video description. | ||||
|     uploader:       Full name of the video uploader. | ||||
|     upload_timestamp:UNIX timestamp of the upload moment. | ||||
|     timestamp:      UNIX timestamp of the moment the video became available. | ||||
|     upload_date:    Video upload date (YYYYMMDD). | ||||
|                     If not explicitly set, calculated from update_timestamp. | ||||
|                     If not explicitly set, calculated from timestamp. | ||||
|     uploader_id:    Nickname or id of the video uploader. | ||||
|     location:       Physical location of the video. | ||||
|     subtitles:      The subtitle file contents as a dictionary in the format | ||||
|   | ||||
| @@ -33,6 +33,7 @@ class VevoIE(InfoExtractor): | ||||
|             "duration": 230.12, | ||||
|             "width": 1920, | ||||
|             "height": 1080, | ||||
|             'timestamp': 1372057200, | ||||
|         } | ||||
|     }, { | ||||
|         'note': 'v3 SMIL format', | ||||
| @@ -46,6 +47,7 @@ class VevoIE(InfoExtractor): | ||||
|             'title': 'I Wish I Could Break Your Heart', | ||||
|             'duration': 226.101, | ||||
|             'age_limit': 0, | ||||
|             'timestamp': 1392796919, | ||||
|         } | ||||
|     }, { | ||||
|         'note': 'Age-limited video', | ||||
| @@ -57,7 +59,7 @@ class VevoIE(InfoExtractor): | ||||
|             'title': 'Tunnel Vision (Explicit)', | ||||
|             'uploader': 'Justin Timberlake', | ||||
|             'upload_date': '20130704', | ||||
|             'upload_timestamp': 1372906800, | ||||
|             'timestamp': 1372906800, | ||||
|         }, | ||||
|         'params': { | ||||
|             'skip_download': 'true', | ||||
| @@ -175,7 +177,7 @@ class VevoIE(InfoExtractor): | ||||
|             'title': video_info['title'], | ||||
|             'formats': formats, | ||||
|             'thumbnail': video_info['imageUrl'], | ||||
|             'upload_timestamp': timestamp_ms // 1000, | ||||
|             'timestamp': timestamp_ms // 1000, | ||||
|             'uploader': video_info['mainArtists'][0]['artistName'], | ||||
|             'duration': video_info['duration'], | ||||
|             'age_limit': age_limit, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Philipp Hagemeister
					Philipp Hagemeister