mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-05 02:32:44 +01:00
[allocine] Fix for Python 2.6
Python 2.6 does not support .// syntax in find(). Fortunately, the interested node is at the top level
This commit is contained in:
parent
7a0ed06909
commit
f63757ec35
@ -71,7 +71,7 @@ def _real_extract(self, url):
|
||||
|
||||
xml = self._download_xml('http://www.allocine.fr/ws/AcVisiondataV4.ashx?media=%s' % video_id, display_id)
|
||||
|
||||
video = xml.find('.//AcVisionVideo').attrib
|
||||
video = xml.find('./AcVisionVideo').attrib
|
||||
quality = qualities(['ld', 'md', 'hd'])
|
||||
|
||||
formats = []
|
||||
|
Loading…
Reference in New Issue
Block a user