mirror of
https://github.com/spaam/svtplay-dl.git
synced 2024-11-27 21:54:17 +01:00
viaplay: this fixes #69 because streams are using non-standard port.
This commit is contained in:
parent
4e83665af5
commit
e568bef14c
@ -59,7 +59,7 @@ class Viaplay(Service, OpenGraphThumbMixin):
|
|||||||
if not match:
|
if not match:
|
||||||
log.error("Somthing wrong with rtmpparse")
|
log.error("Somthing wrong with rtmpparse")
|
||||||
sys.exit(2)
|
sys.exit(2)
|
||||||
filename = "%s://%s%s" % (parse.scheme, parse.hostname, match.group(1))
|
filename = "%s://%s:%s%s" % (parse.scheme, parse.hostname, parse.port, match.group(1))
|
||||||
path = "-y %s" % match.group(2)
|
path = "-y %s" % match.group(2)
|
||||||
options.other = "-W http://flvplayer.viastream.viasat.tv/flvplayer/play/swf/player.swf %s" % path
|
options.other = "-W http://flvplayer.viastream.viasat.tv/flvplayer/play/swf/player.swf %s" % path
|
||||||
download_rtmp(options, filename)
|
download_rtmp(options, filename)
|
||||||
|
Loading…
Reference in New Issue
Block a user