mirror of
				https://gitlab.com/ytdl-org/youtube-dl.git
				synced 2025-11-04 10:47:08 -05:00 
			
		
		
		
	[downloader/dash] make initialization_url optional
This commit is contained in:
		@@ -40,6 +40,7 @@ class DashSegmentsFD(FileDownloader):
 | 
			
		||||
            return '%s%s%s' % (base_url, '' if base_url.endswith('/') else '/', target_url)
 | 
			
		||||
 | 
			
		||||
        with open(tmpfilename, 'wb') as outf:
 | 
			
		||||
            if info_dict.get('initialization_url'):
 | 
			
		||||
                append_url_to_file(
 | 
			
		||||
                    outf, combine_url(base_url, info_dict['initialization_url']),
 | 
			
		||||
                    'initialization segment')
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user