mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-11-04 00:25:15 +00:00 
			
		
		
		
	[afreecatv] Fix extraction (closes #15755)
This commit is contained in:
		@@ -200,7 +200,7 @@ class AfreecaTVIE(InfoExtractor):
 | 
				
			|||||||
            raise ExtractorError(
 | 
					            raise ExtractorError(
 | 
				
			||||||
                '%s said: %s' % (self.IE_NAME, flag), expected=True)
 | 
					                '%s said: %s' % (self.IE_NAME, flag), expected=True)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        video_element = video_xml.findall(compat_xpath('./track/video'))[1]
 | 
					        video_element = video_xml.findall(compat_xpath('./track/video'))[-1]
 | 
				
			||||||
        if video_element is None or video_element.text is None:
 | 
					        if video_element is None or video_element.text is None:
 | 
				
			||||||
            raise ExtractorError('Specified AfreecaTV video does not exist',
 | 
					            raise ExtractorError('Specified AfreecaTV video does not exist',
 | 
				
			||||||
                                 expected=True)
 | 
					                                 expected=True)
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user