mirror of
https://github.com/spaam/svtplay-dl.git
synced 2024-11-30 23:24:16 +01:00
dbtv: send hls url to hlsparse
This commit is contained in:
parent
c691aa6ea1
commit
1bd7410cc2
@ -29,7 +29,7 @@ class Dbtv(Service, OpenGraphThumbMixin):
|
|||||||
for i in playlist:
|
for i in playlist:
|
||||||
if i["brightcoveId"] == vidoid:
|
if i["brightcoveId"] == vidoid:
|
||||||
if i["HLSURL"]:
|
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()):
|
for n in list(streams.keys()):
|
||||||
yield HLS(copy.copy(options), streams[n], n)
|
yield HLS(copy.copy(options), streams[n], n)
|
||||||
for n in i["renditions"]:
|
for n in i["renditions"]:
|
||||||
|
Loading…
Reference in New Issue
Block a user