mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-01 07:59:46 +01:00
[rts] Add thumbnail support
This commit is contained in:
parent
ba40a74666
commit
f605128d13
@ -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 @@ def _real_extract(self, url):
|
|||||||
'duration': duration,
|
'duration': duration,
|
||||||
'uploader': info.get('programName'),
|
'uploader': info.get('programName'),
|
||||||
'timestamp': upload_timestamp,
|
'timestamp': upload_timestamp,
|
||||||
|
'thumbnail': thumbnail,
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user