mirror of https://github.com/yt-dlp/yt-dlp.git
[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:
parent
fa7a1cc5ef
commit
9cc93c64aa
|
@ -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(
|
||||||
|
|
Loading…
Reference in New Issue