projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c60089c
)
[srgssr] fix rts video extraction(closes #11831)
author
Remita Amine
<remitamine@gmail.com>
Wed, 25 Jan 2017 06:39:11 +0000
(07:39 +0100)
committer
Remita Amine
<remitamine@gmail.com>
Wed, 25 Jan 2017 06:39:41 +0000
(07:39 +0100)
youtube_dl/extractor/srgssr.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/srgssr.py
b/youtube_dl/extractor/srgssr.py
index 47aa887cc25f5254d8bbb0d6465a9ad499b4afaa..319a48a7a543dfcfade0cb91726103a66d864711 100644
(file)
--- 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]