mirror of
				https://gitlab.com/ytdl-org/youtube-dl.git
				synced 2025-11-04 09:57:06 -05:00 
			
		
		
		
	[test_InfoExtractor] Add m3u8 parsing test for NAME attribute in EXT-X-STREAM-INF tag
This commit is contained in:
		@@ -1397,7 +1397,9 @@ class InfoExtractor(object):
 | 
			
		||||
 | 
			
		||||
        def build_stream_name():
 | 
			
		||||
            # Despite specification does not mention NAME attribute for
 | 
			
		||||
            # EXT-X-STREAM-INF it still sometimes may be present
 | 
			
		||||
            # EXT-X-STREAM-INF tag (see [1] or vidio test in
 | 
			
		||||
            # test_parse_m3u8_formats) it still sometimes may be present
 | 
			
		||||
            # 1. http://www.vidio.com/watch/165683-dj_ambred-booyah-live-2015
 | 
			
		||||
            stream_name = last_stream_inf.get('NAME')
 | 
			
		||||
            if stream_name:
 | 
			
		||||
                return stream_name
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user