diff options
author | Remita Amine <remitamine@gmail.com> | 2017-01-25 07:39:11 +0100 |
---|---|---|
committer | Remita Amine <remitamine@gmail.com> | 2017-01-25 07:39:41 +0100 |
commit | b8a03b66601f6af9e6b4009cba634dac6e0d30e6 (patch) | |
tree | 55a49dbb6946b45c393b7a07637f1c8ec25c898e | |
parent | c60089c0222433775dcc1305d85b42fc6158c8df (diff) |
[srgssr] fix rts video extraction(closes #11831)
-rw-r--r-- | youtube_dl/extractor/srgssr.py | 3 |
1 files changed, 0 insertions, 3 deletions
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] |