diff options
Diffstat (limited to 'youtube_dl/YoutubeDL.py')
| -rw-r--r-- | youtube_dl/YoutubeDL.py | 1 | 
1 files changed, 1 insertions, 0 deletions
| diff --git a/youtube_dl/YoutubeDL.py b/youtube_dl/YoutubeDL.py index fc36be56f..3fbbf3ba0 100644 --- a/youtube_dl/YoutubeDL.py +++ b/youtube_dl/YoutubeDL.py @@ -751,6 +751,7 @@ class YoutubeDL(object):          if self.params.get('forceformat', False):              self.to_stdout(info_dict['format'])          if self.params.get('forcejson', False): +            info_dict['_filename'] = filename              self.to_stdout(json.dumps(info_dict))          # Do nothing else if in simulate mode | 
