1
0
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:
Johan Andersson 2015-10-04 14:35:00 +02:00
parent 9011705274
commit b899072236

View File

@ -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")