From 9b22cb10c486b827102093d05abeb21a4d4913b7 Mon Sep 17 00:00:00 2001 From: felix Date: Sat, 29 Aug 2015 08:00:25 +0200 Subject: [PATCH] [screenwavemedia] use the true JS value instead of a comment --- youtube_dl/extractor/screenwavemedia.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 @@ def _real_extract(self, url): '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(