mirror of
https://github.com/l1ving/youtube-dl
synced 2025-03-13 05:27:17 +08:00
[screenwavemedia] use the true JS value instead of a comment
This commit is contained in:
parent
d35b27b19d
commit
f0e5e6ab96
@ -33,7 +33,7 @@ class ScreenwaveMediaIE(InfoExtractor):
|
||||
'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(
|
||||
|
Loading…
x
Reference in New Issue
Block a user