From e82c1e9a6e709502acc683fb90864f7611d96d07 Mon Sep 17 00:00:00 2001 From: Philipp Hagemeister Date: Fri, 24 Oct 2014 16:13:45 +0200 Subject: [PATCH] [YoutubeDL] Do not apply playlist info to videos when extract_flat is set (#4003) --- youtube_dl/YoutubeDL.py | 1 - 1 file changed, 1 deletion(-) diff --git a/youtube_dl/YoutubeDL.py b/youtube_dl/YoutubeDL.py index 623f9d6fe..6aa1fd105 100755 --- a/youtube_dl/YoutubeDL.py +++ b/youtube_dl/YoutubeDL.py @@ -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 -- 2.22.2