From b89907223644a87b7e3e44b3d0ae0c73a6b3fa4a Mon Sep 17 00:00:00 2001 From: Johan Andersson Date: Sun, 4 Oct 2015 14:35:00 +0200 Subject: [PATCH] hds: we want to get the data inside of the parse function --- lib/svtplay_dl/fetcher/hds.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/svtplay_dl/fetcher/hds.py b/lib/svtplay_dl/fetcher/hds.py index 5f01629..bcb5cc3 100644 --- a/lib/svtplay_dl/fetcher/hds.py +++ b/lib/svtplay_dl/fetcher/hds.py @@ -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")