mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-31 14:45:14 +00:00 
			
		
		
		
	[mtv] Skip missing video parts (closes #13690)
This commit is contained in:
		| @@ -121,7 +121,11 @@ class VH1IE(MTVIE): | ||||
|         idoc = self._download_xml( | ||||
|             doc_url, video_id, | ||||
|             'Downloading info', transform_source=fix_xml_ampersands) | ||||
|         return self.playlist_result( | ||||
|             [self._get_video_info(item) for item in idoc.findall('.//item')], | ||||
|             playlist_id=video_id, | ||||
|         ) | ||||
|  | ||||
|         entries = [] | ||||
|         for item in idoc.findall('.//item'): | ||||
|             info = self._get_video_info(item) | ||||
|             if info: | ||||
|                 entries.append(info) | ||||
|  | ||||
|         return self.playlist_result(entries, playlist_id=video_id) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Sergey M․
					Sergey M․