From: Remita Amine Date: Wed, 25 Jan 2017 06:39:11 +0000 (+0100) Subject: [srgssr] fix rts video extraction(closes #11831) X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=b8a03b66601f6af9e6b4009cba634dac6e0d30e6;p=youtube-dl [srgssr] fix rts video extraction(closes #11831) --- diff --git a/youtube_dl/extractor/srgssr.py b/youtube_dl/extractor/srgssr.py index 47aa887cc..319a48a7a 100644 --- a/youtube_dl/extractor/srgssr.py +++ b/youtube_dl/extractor/srgssr.py @@ -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]