mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-12-01 02:49:31 +00:00
[screenwavemedia] use the true JS value instead of a comment
This commit is contained in:
parent
8ca31a0e05
commit
9b22cb10c4
|
@ -33,7 +33,7 @@ def _real_extract(self, url):
|
||||||
'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"\[ipaddress\]\s*=>\s*([\d\.]+)", playerdata, 'videoserver')
|
videoserver = self._search_regex(r'SWMServer\s*=\s*"([\d\.]+)"', playerdata, 'videoserver')
|
||||||
|
|
||||||
sources = self._parse_json(
|
sources = self._parse_json(
|
||||||
js_to_json(
|
js_to_json(
|
||||||
|
|
Loading…
Reference in a new issue