mirror of
https://github.com/spaam/svtplay-dl.git
synced 2024-11-24 04:05:39 +01:00
hds: we want to get the data inside of the parse function
This commit is contained in:
parent
9011705274
commit
b899072236
@ -40,10 +40,10 @@ class LiveHDSException(HDSException):
|
||||
url, "This is a live HDS stream, and they are not supported.")
|
||||
|
||||
|
||||
def hdsparse(options, data, manifest):
|
||||
def hdsparse(options, res, manifest):
|
||||
streams = {}
|
||||
bootstrap = {}
|
||||
xml = ET.XML(data)
|
||||
xml = ET.XML(res.text)
|
||||
|
||||
if is_py2_old:
|
||||
bootstrapIter = xml.getiterator("{http://ns.adobe.com/f4m/1.0}bootstrapInfo")
|
||||
|
Loading…
Reference in New Issue
Block a user