mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-11-04 08:35:12 +00:00 
			
		
		
		
	[lifenews] Use _proto_relative_url
				
					
				
			This commit is contained in:
		@@ -99,8 +99,7 @@ class LifeNewsIE(InfoExtractor):
 | 
				
			|||||||
            return cur_info
 | 
					            return cur_info
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        if iframe_link:
 | 
					        if iframe_link:
 | 
				
			||||||
            if iframe_link.startswith('//'):
 | 
					            iframe_link = self._proto_relative_url(iframe_link, 'http:')
 | 
				
			||||||
                iframe_link = 'http:' + iframe_link
 | 
					 | 
				
			||||||
            cur_info = dict(common_info)
 | 
					            cur_info = dict(common_info)
 | 
				
			||||||
            cur_info.update({
 | 
					            cur_info.update({
 | 
				
			||||||
                '_type': 'url_transparent',
 | 
					                '_type': 'url_transparent',
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user