[screenwavemedia] use the true JS value instead of a comment
authorfelix <felix.von.s@posteo.de>
Sat, 29 Aug 2015 06:00:25 +0000 (08:00 +0200)
committerSergey M․ <dstftw@gmail.com>
Sat, 29 Aug 2015 12:38:34 +0000 (18:38 +0600)
youtube_dl/extractor/screenwavemedia.py

index 220d39078fab15e0e4191a1d1a33b162f342ffb8..e1604b5c0c3514bfe39fb5278a33e5d65f10106c 100644 (file)
@@ -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(