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:
parent
c691aa6ea1
commit
1bd7410cc2
@ -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"]:
|
||||
|
Loading…
Reference in New Issue
Block a user