Browse Source

[YoutubeDL] Do not apply playlist info to videos when extract_flat is set (#4003)

totalwebcasting
Philipp Hagemeister 10 years ago
parent
commit
e82c1e9a6e
1 changed files with 0 additions and 1 deletions
  1. +0
    -1
      youtube_dl/YoutubeDL.py

+ 0
- 1
youtube_dl/YoutubeDL.py View File

@ -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


Loading…
Cancel
Save