aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/screenwavemedia.py
diff options
context:
space:
mode:
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>2015-08-01 22:15:43 +0200
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>2015-08-01 22:17:19 +0200
commit9cc93c64aa321260475a2bdf7d8626cdd16bf8ad (patch)
treec505a90dc427ef7961a0aaf05a8c897900470052 /youtube_dl/extractor/screenwavemedia.py
parentfa7a1cc5ef52a8dd9a355ab37a74be55ac2ddc1f (diff)
[screenwavemedia] Use the IP for the videoserver (fixes #6397)
For http://cinemassacre.com/2015/07/28/avgn-seaman-for-dreamcast/ the other server returns a 403 error.
Diffstat (limited to 'youtube_dl/extractor/screenwavemedia.py')
-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 09c085dcf..3bc84989e 100644
--- a/youtube_dl/extractor/screenwavemedia.py
+++ b/youtube_dl/extractor/screenwavemedia.py
@@ -31,7 +31,7 @@ class ScreenwaveMediaIE(InfoExtractor):
'http://player.screenwavemedia.com/player.js',
video_id, 'Downloading playerconfig webpage')
- videoserver = self._search_regex(r"'videoserver'\s*:\s*'([^']+)", playerconfig, 'videoserver')
+ videoserver = self._search_regex(r"\[ipaddress\]\s*=>\s*([\d\.]+)", playerdata, 'videoserver')
sources = self._parse_json(
js_to_json(