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