Explorar o código

[rts] Add thumbnail support

Philipp Hagemeister %!s(int64=11) %!d(string=hai) anos
pai
achega
f605128d13
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      youtube_dl/extractor/rts.py

+ 2 - 0
youtube_dl/extractor/rts.py

@@ -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,
         }
         }