1
0
mirror of https://github.com/l1ving/youtube-dl synced 2024-11-21 00:12:51 +08:00

[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.
This commit is contained in:
Jaime Marquínez Ferrándiz 2015-08-01 22:15:43 +02:00
parent fa7a1cc5ef
commit 9cc93c64aa

View File

@ -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(