|
@ -717,7 +717,7 @@ class YoutubeDL(object): |
|
|
return |
|
|
return |
|
|
|
|
|
|
|
|
if self.params.get('writeinfojson', False): |
|
|
if self.params.get('writeinfojson', False): |
|
|
infofn = filename + u'.info.json' |
|
|
|
|
|
|
|
|
infofn = os.path.splitext(filename)[0] + u'.info.json' |
|
|
self.report_writeinfojson(infofn) |
|
|
self.report_writeinfojson(infofn) |
|
|
try: |
|
|
try: |
|
|
json_info_dict = dict((k, v) for k, v in info_dict.items() if not k in ['urlhandle']) |
|
|
json_info_dict = dict((k, v) for k, v in info_dict.items() if not k in ['urlhandle']) |
|
|