mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-31 06:35:12 +00:00 
			
		
		
		
	[YoutubeDL] Do not apply playlist info to videos when extract_flat is set (#4003)
This commit is contained in:
		| @@ -574,7 +574,6 @@ class YoutubeDL(object): | ||||
|             extract_flat = self.params.get('extract_flat', False) | ||||
|             if ((extract_flat == 'in_playlist' and 'playlist' in extra_info) or | ||||
|                     extract_flat is True): | ||||
|                 self.add_extra_info(ie_result, extra_info) | ||||
|                 if self.params.get('forcejson', False): | ||||
|                     self.to_stdout(json.dumps(ie_result)) | ||||
|                 return ie_result | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Philipp Hagemeister
					Philipp Hagemeister