aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor
diff options
context:
space:
mode:
authorfelix <felix.von.s@posteo.de>2015-08-29 08:00:25 +0200
committerSergey M․ <dstftw@gmail.com>2015-08-29 18:38:34 +0600
commit9b22cb10c486b827102093d05abeb21a4d4913b7 (patch)
treea87bf22b752365e8197d679b858dc129fb18d9dc /youtube_dl/extractor
parent8ca31a0e056a7a7b71ea35753504ed0f870e834f (diff)
[screenwavemedia] use the true JS value instead of a comment
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r--youtube_dl/extractor/screenwavemedia.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/screenwavemedia.py b/youtube_dl/extractor/screenwavemedia.py
index 220d39078..e1604b5c0 100644
--- a/youtube_dl/extractor/screenwavemedia.py
+++ b/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(