1
0
mirror of https://github.com/spaam/svtplay-dl.git synced 2024-11-24 04:05:39 +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] yield streams[n]
if i["defaultURL"].endswith("m3u8"): 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()): for n in list(streams.keys()):
yield HLS(copy.copy(options), streams[n], n) yield HLS(copy.copy(options), streams[n], n)