0
0
Fork 0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-23 02:25:11 +00: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({ formats.append({
'format_id': 'rtmp-%s' % format, 'format_id': 'rtmp-%s' % format,
'url': rtmp_video_url, 'url': rtmp_video_url.replace('viacomccstrm', 'viacommtvstrm'),
'ext': self._video_extensions.get(format, 'mp4'), 'ext': self._video_extensions.get(format, 'mp4'),
'height': h, 'height': h,
'width': w, 'width': w,