Przeglądaj źródła

[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/*'
Jaime Marquínez Ferrándiz 11 lat temu
rodzic
commit
6db80ad2db
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      youtube_dl/extractor/comedycentral.py

+ 1 - 1
youtube_dl/extractor/comedycentral.py

@@ -188,7 +188,7 @@ class ComedyCentralShowsIE(InfoExtractor):
                 })
                 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,