1
0
Fork 0
mirror of https://codeberg.org/polarisfm/youtube-dl.git synced 2024-12-26 01:26:45 +00: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', 'http://player.screenwavemedia.com/player.js',
video_id, 'Downloading playerconfig webpage') 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( sources = self._parse_json(
js_to_json( js_to_json(