0
0
Fork 0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-27 03:03:01 +00:00

[screenwavemedia] use the true JS value instead of a comment

This commit is contained in:
felix 2015-08-29 08:00:25 +02:00 committed by Sergey M․
parent 8ca31a0e05
commit 9b22cb10c4

View file

@ -33,7 +33,7 @@ def _real_extract(self, url):
'http://player.screenwavemedia.com/player.js',
video_id, 'Downloading playerconfig webpage')
videoserver = self._search_regex(r"\[ipaddress\]\s*=>\s*([\d\.]+)", playerdata, 'videoserver')
videoserver = self._search_regex(r'SWMServer\s*=\s*"([\d\.]+)"', playerdata, 'videoserver')
sources = self._parse_json(
js_to_json(