]> gitweb @ CieloNegro.org - youtube-dl.git/commitdiff
[rts] Add thumbnail support
authorPhilipp Hagemeister <phihag@phihag.de>
Mon, 24 Mar 2014 21:32:04 +0000 (22:32 +0100)
committerPhilipp Hagemeister <phihag@phihag.de>
Mon, 24 Mar 2014 21:32:04 +0000 (22:32 +0100)
youtube_dl/extractor/rts.py

index f211637a74fe0056a9553f1ed17da4b9f688f5ba..bcdfbdd5691410e43d3b030f4f8059cfc8497c6a 100644 (file)
@@ -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,
         }