added return metadata

This commit is contained in:
cryhwang 2022-12-11 14:17:39 -05:00
parent 237e55ef91
commit 56cfd8f604

View File

@ -293,6 +293,9 @@ class GoogleDriveIE(InfoExtractor):
'title': title, 'title': title,
'thumbnail': 'https://drive.google.com/thumbnail?id=' + video_id, 'thumbnail': 'https://drive.google.com/thumbnail?id=' + video_id,
'duration': int_or_none(get_value('length_seconds')), 'duration': int_or_none(get_value('length_seconds')),
'created_date': createdTime,
'modified_date': modifiedTime,
'owners': owner_lst,
'formats': formats, 'formats': formats,
'subtitles': self.extract_subtitles(video_id, subtitles_id, hl), 'subtitles': self.extract_subtitles(video_id, subtitles_id, hl),
'automatic_captions': self.extract_automatic_captions( 'automatic_captions': self.extract_automatic_captions(