Browse Source

[screenwavemedia] use the true JS value instead of a comment

master
felix 9 years ago
committed by Sergey M․
parent
commit
9b22cb10c4
1 changed files with 1 additions and 1 deletions
  1. 2
      youtube_dl/extractor/screenwavemedia.py

2
youtube_dl/extractor/screenwavemedia.py

@ -33,7 +33,7 @@ class ScreenwaveMediaIE(InfoExtractor):
'http://player.screenwavemedia.com/player.js',
video_id, 'Downloading playerconfig webpage')
videoserver = self._search_regex(r"\[ipaddress\]\s*=>\s*([\d\.]+)", playerdata, 'videoserver')
videoserver = self._search_regex(r'SWMServer\s*=\s*"([\d\.]+)"', playerdata, 'videoserver')
sources = self._parse_json(
js_to_json(

Loading…
Cancel
Save