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:
parent
29d00920ad
commit
8596e3bfb9
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user