Browse Source

[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.
master
Jaime Marquínez Ferrándiz 9 years ago
parent
commit
9cc93c64aa
1 changed files with 1 additions and 1 deletions
  1. 2
      youtube_dl/extractor/screenwavemedia.py

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

Loading…
Cancel
Save