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

raw: send url to hlsparse

This commit is contained in:
Johan Andersson 2015-09-13 22:09:23 +02:00
parent 8596e3bfb9
commit 755cfe3825

View File

@ -32,7 +32,7 @@ class Raw(Service):
for n in list(streams.keys()):
yield streams[n]
if self.url.find(".m3u8") > 0:
streams = hlsparse(self.http.request("get", self.url).text)
streams = hlsparse(self.url, self.http.request("get", self.url).text)
if extention:
options.output = "%s.ts" % options.output