mirror of
				https://code.hackerspace.pl/q3k/youtube-dl
				synced 2025-03-16 11:43:02 +00:00 
			
		
		
		
	[npo] Skip broken URL links (Closes #5266)
This commit is contained in:
		
							parent
							
								
									9f790b9901
								
							
						
					
					
						commit
						b0872c19ea
					
				| @ -231,7 +231,10 @@ class NPOLiveIE(NPOBaseIE): | |||||||
|                 stream_url = self._download_json( |                 stream_url = self._download_json( | ||||||
|                     stream_info['stream'], display_id, |                     stream_info['stream'], display_id, | ||||||
|                     'Downloading %s URL' % stream_type, |                     'Downloading %s URL' % stream_type, | ||||||
|                     transform_source=strip_jsonp) |                     'Unable to download %s URL' % stream_type, | ||||||
|  |                     transform_source=strip_jsonp, fatal=False) | ||||||
|  |                 if not stream_url: | ||||||
|  |                     continue | ||||||
|                 if stream_type == 'hds': |                 if stream_type == 'hds': | ||||||
|                     f4m_formats = self._extract_f4m_formats(stream_url, display_id) |                     f4m_formats = self._extract_f4m_formats(stream_url, display_id) | ||||||
|                     # f4m downloader downloads only piece of live stream |                     # f4m downloader downloads only piece of live stream | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Sergey M․
						Sergey M․