projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8ca31a0
)
[screenwavemedia] use the true JS value instead of a comment
author
felix
<felix.von.s@posteo.de>
Sat, 29 Aug 2015 06:00:25 +0000
(08:00 +0200)
committer
Sergey M․
<dstftw@gmail.com>
Sat, 29 Aug 2015 12:38:34 +0000
(18:38 +0600)
youtube_dl/extractor/screenwavemedia.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/screenwavemedia.py
b/youtube_dl/extractor/screenwavemedia.py
index 220d39078fab15e0e4191a1d1a33b162f342ffb8..e1604b5c0c3514bfe39fb5278a33e5d65f10106c 100644
(file)
--- a/
youtube_dl/extractor/screenwavemedia.py
+++ b/
youtube_dl/extractor/screenwavemedia.py
@@
-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(