]> gitweb @ CieloNegro.org - youtube-dl.git/commitdiff
[srgssr] fix rts video extraction(closes #11831)
authorRemita Amine <remitamine@gmail.com>
Wed, 25 Jan 2017 06:39:11 +0000 (07:39 +0100)
committerRemita Amine <remitamine@gmail.com>
Wed, 25 Jan 2017 06:39:41 +0000 (07:39 +0100)
youtube_dl/extractor/srgssr.py

index 47aa887cc25f5254d8bbb0d6465a9ad499b4afaa..319a48a7a543dfcfade0cb91726103a66d864711 100644 (file)
@@ -48,9 +48,6 @@ class SRGSSRIE(InfoExtractor):
     def _real_extract(self, url):
         bu, media_type, media_id = re.match(self._VALID_URL, url).groups()
 
-        if bu == 'rts':
-            return self.url_result('rts:%s' % media_id, 'RTS')
-
         media_data = self.get_media_data(bu, media_type, media_id)
 
         metadata = media_data['AssetMetadatas']['AssetMetadata'][0]