1
0
mirror of https://github.com/spaam/svtplay-dl.git synced 2024-11-27 21:54:17 +01:00

kanal5: typo.

This commit is contained in:
Johan Andersson 2013-03-14 22:33:28 +01:00
parent 4cd75714b7
commit b85926b38a

View File

@ -52,7 +52,7 @@ class Kanal5():
data = json.loads(get_http_data(url, cookiejar=cj))
options.live = data["isLive"]
if data["hasSubtitle"]:
subtitle = "http://www.kanal5play.se/api/subtitles/%s" % video_id)
subtitle = "http://www.kanal5play.se/api/subtitles/%s" % video_id
if options.hls:
url = data["streams"][0]["source"]
baseurl = url[0:url.rfind("/")]