mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-11-04 00:25:15 +00:00 
			
		
		
		
	[extractor/common] Improve m3u8 output
This commit is contained in:
		@@ -689,7 +689,10 @@ class InfoExtractor(object):
 | 
				
			|||||||
            if re.match(r'^https?://', u)
 | 
					            if re.match(r'^https?://', u)
 | 
				
			||||||
            else compat_urlparse.urljoin(m3u8_url, u))
 | 
					            else compat_urlparse.urljoin(m3u8_url, u))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        m3u8_doc = self._download_webpage(m3u8_url, video_id)
 | 
					        m3u8_doc = self._download_webpage(
 | 
				
			||||||
 | 
					            m3u8_url, video_id,
 | 
				
			||||||
 | 
					            note='Downloading m3u8 information',
 | 
				
			||||||
 | 
					            errnote='Failed to download m3u8 information')
 | 
				
			||||||
        last_info = None
 | 
					        last_info = None
 | 
				
			||||||
        kv_rex = re.compile(
 | 
					        kv_rex = re.compile(
 | 
				
			||||||
            r'(?P<key>[a-zA-Z_-]+)=(?P<val>"[^"]+"|[^",]+)(?:,|$)')
 | 
					            r'(?P<key>[a-zA-Z_-]+)=(?P<val>"[^"]+"|[^",]+)(?:,|$)')
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user