浏览代码

[screenwavemedia] warn when falling back to a hardcoded list of streams

felix 10 年之前
父节点
当前提交
e276fd2cb3
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      youtube_dl/extractor/screenwavemedia.py

+ 1 - 0
youtube_dl/extractor/screenwavemedia.py

@@ -56,6 +56,7 @@ class ScreenwaveMediaIE(InfoExtractor):
 
         # Fallback to hardcoded sources if JS changes again
         if not sources:
+            self.report_warning('Falling back to a hardcoded list of streams')
             sources = [{
                 'file': 'http://%s/vod/%s_%s.mp4' % (videoserver, video_id, format_id),
                 'type': 'mp4',