mirror of
https://github.com/spaam/svtplay-dl.git
synced 2024-11-27 21:54:17 +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.")
|
url, "This is a live HDS stream, and they are not supported.")
|
||||||
|
|
||||||
|
|
||||||
def hdsparse(options, data, manifest):
|
def hdsparse(options, res, manifest):
|
||||||
streams = {}
|
streams = {}
|
||||||
bootstrap = {}
|
bootstrap = {}
|
||||||
xml = ET.XML(data)
|
xml = ET.XML(res.text)
|
||||||
|
|
||||||
if is_py2_old:
|
if is_py2_old:
|
||||||
bootstrapIter = xml.getiterator("{http://ns.adobe.com/f4m/1.0}bootstrapInfo")
|
bootstrapIter = xml.getiterator("{http://ns.adobe.com/f4m/1.0}bootstrapInfo")
|
||||||
|
Loading…
Reference in New Issue
Block a user