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

dbtv: send hls url to hlsparse

This commit is contained in:
Johan Andersson 2015-08-31 16:53:23 +02:00
parent c691aa6ea1
commit 1bd7410cc2

View File

@ -29,7 +29,7 @@ class Dbtv(Service, OpenGraphThumbMixin):
for i in playlist:
if i["brightcoveId"] == vidoid:
if i["HLSURL"]:
streams = hlsparse(self.http.get(i["HLSURL"]).text)
streams = hlsparse(i["HLSURL"], self.http.get(i["HLSURL"]).text)
for n in list(streams.keys()):
yield HLS(copy.copy(options), streams[n], n)
for n in i["renditions"]: