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

bigbrother: send url to hlsparse

This commit is contained in:
Johan Andersson 2015-09-13 22:09:07 +02:00
parent 29d00920ad
commit 8596e3bfb9

View File

@ -60,6 +60,6 @@ class Bigbrother(Service, OpenGraphThumbMixin):
yield streams[n]
if i["defaultURL"].endswith("m3u8"):
streams = hlsparse(self.http.request("get", i["defaultURL"]).text)
streams = hlsparse(i["defaultURL"], self.http.request("get", i["defaultURL"]).text)
for n in list(streams.keys()):
yield HLS(copy.copy(options), streams[n], n)