1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-12-24 18:41:26 +01:00

[rts] Add thumbnail support

This commit is contained in:
Philipp Hagemeister 2014-03-24 22:32:04 +01:00
parent ba40a74666
commit f605128d13

View File

@ -28,6 +28,7 @@ class RTSIE(InfoExtractor):
'uploader': 'Divers', 'uploader': 'Divers',
'upload_date': '19680921', 'upload_date': '19680921',
'timestamp': -40280400, 'timestamp': -40280400,
'thumbnail': 're:^https?://.*\.image'
}, },
} }
@ -58,4 +59,5 @@ class RTSIE(InfoExtractor):
'duration': duration, 'duration': duration,
'uploader': info.get('programName'), 'uploader': info.get('programName'),
'timestamp': upload_timestamp, 'timestamp': upload_timestamp,
'thumbnail': thumbnail,
} }