Skip to content

A feature-rich command-line audio/video downloader

Merge remote-tracking branch 'upstream/master'

Pierre Rudloff8d212e604a86
diff --cc youtube_dl/extractor/jeuxvideo.py
index d74a1c9b4e,4327bc13da..c8a8ae1b3d
--- a/youtube_dl/extractor/jeuxvideo.py
+++ b/youtube_dl/extractor/jeuxvideo.py
@@@ -18,6 -31,7 +31,8 @@@ 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)
info = json.loads(info)['versions'][0]