2
0
Эх сурвалжийг харах

[CinemassacreIE] Add live paramter to extracted info as a workaround

rzhxeo 12 жил өмнө
parent
commit
0a43ddf320

+ 2 - 0
youtube_dl/extractor/cinemassacre.py

@@ -65,6 +65,7 @@ class CinemassacreIE(InfoExtractor):
             {
             {
                 'url': url,
                 'url': url,
                 'play_path': 'mp4:' + sd_file,
                 'play_path': 'mp4:' + sd_file,
+                'live': True, # workaround
                 'ext': 'flv',
                 'ext': 'flv',
                 'format': 'sd',
                 'format': 'sd',
                 'format_id': 'sd',
                 'format_id': 'sd',
@@ -72,6 +73,7 @@ class CinemassacreIE(InfoExtractor):
             {
             {
                 'url': url,
                 'url': url,
                 'play_path': 'mp4:' + hd_file,
                 'play_path': 'mp4:' + hd_file,
+                'live': True, # workaround
                 'ext': 'flv',
                 'ext': 'flv',
                 'format': 'hd',
                 'format': 'hd',
                 'format_id': 'hd',
                 'format_id': 'hd',