diff options
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r-- | youtube_dl/extractor/jeuxvideo.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/youtube_dl/extractor/jeuxvideo.py b/youtube_dl/extractor/jeuxvideo.py index 4327bc13d..c8a8ae1b3 100644 --- a/youtube_dl/extractor/jeuxvideo.py +++ b/youtube_dl/extractor/jeuxvideo.py @@ -31,6 +31,7 @@ class JeuxVideoIE(InfoExtractor): xml_config = self._download_webpage(xml_link, title, 'Downloading XML config') + config = xml.etree.ElementTree.fromstring(xml_config.encode('utf-8')) info = re.search(r'<format\.json>(.*?)</format\.json>', xml_config, re.MULTILINE|re.DOTALL).group(1) |