Browse Source

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

totalwebcasting
felix 9 years ago
committed by Sergey M․
parent
commit
e276fd2cb3
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      youtube_dl/extractor/screenwavemedia.py

+ 1
- 0
youtube_dl/extractor/screenwavemedia.py View File

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


Loading…
Cancel
Save