1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-02 17:22:31 +01:00

[comedycentralshows] Transform the rtmp urls so that rtmpdump can download them (fixes #3010)

From 'rtmpe://viacomccstrmfs.fplive.net/viacomccstrm/gsp.comedystor/*' to 'rtmpe://viacommtvstrmfs.fplive.net:1935/viacommtvstrm/gsp.comedystor/*'
This commit is contained in:
Jaime Marquínez Ferrándiz 2014-05-30 20:59:15 +02:00
parent 6ebb46c106
commit 6db80ad2db

View File

@ -188,7 +188,7 @@ def _real_extract(self, url):
})
formats.append({
'format_id': 'rtmp-%s' % format,
'url': rtmp_video_url,
'url': rtmp_video_url.replace('viacomccstrm', 'viacommtvstrm'),
'ext': self._video_extensions.get(format, 'mp4'),
'height': h,
'width': w,