commit f605128d131b3084a6f2e098df1561892cecfc3e
parent ba40a746669890ea54363565a8c3d4144f213595
Author: Philipp Hagemeister <phihag@phihag.de>
Date: Mon, 24 Mar 2014 22:32:04 +0100
[rts] Add thumbnail support
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/youtube_dl/extractor/rts.py b/youtube_dl/extractor/rts.py
@@ -28,6 +28,7 @@ class RTSIE(InfoExtractor):
'uploader': 'Divers',
'upload_date': '19680921',
'timestamp': -40280400,
+ 'thumbnail': 're:^https?://.*\.image'
},
}
@@ -58,4 +59,5 @@ class RTSIE(InfoExtractor):
'duration': duration,
'uploader': info.get('programName'),
'timestamp': upload_timestamp,
+ 'thumbnail': thumbnail,
}