youtube-dl

Another place where youtube-dl lives on
git clone git://git.oshgnacknak.de/youtube-dl.git
Log | Files | Refs | README | LICENSE

commit 47a8b7c14a085ce558db3b5a85ded850cd5df642
parent 2a04d2c799153778b4652a701e83f1d6d211fbf1
Author: Jaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Date:   Mon,  3 Aug 2015 12:00:08 +0200

[mdr] Change XPath to make it work in python 2.6 (fixes #6443)

The 'progressiveDownloadUrl' element is a direct child, so they should be equivalent.

Diffstat:
Myoutube_dl/extractor/mdr.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/youtube_dl/extractor/mdr.py b/youtube_dl/extractor/mdr.py @@ -29,7 +29,7 @@ class MDRIE(InfoExtractor): doc = self._download_xml(domain + xmlurl, video_id) formats = [] for a in doc.findall('./assets/asset'): - url_el = a.find('.//progressiveDownloadUrl') + url_el = a.find('./progressiveDownloadUrl') if url_el is None: continue abr = int(a.find('bitrateAudio').text) // 1000