mirror of
				https://gitlab.com/ytdl-org/youtube-dl.git
				synced 2025-11-04 07:17:07 -05: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:
		@@ -71,7 +71,7 @@ class AllocineIE(InfoExtractor):
 | 
			
		||||
 | 
			
		||||
        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 = []
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user