Browse Source

Merge remote-tracking branch 'dz0ny/patch-1'

rtmp_test
Philipp Hagemeister 11 years ago
parent
commit
86bd5f2ca9
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      test/test_write_info_json.py
  2. +1
    -1
      youtube_dl/YoutubeDL.py

+ 1
- 1
test/test_write_info_json.py View File

@ -31,7 +31,7 @@ params = get_params({
TEST_ID = 'BaW_jenozKc'
INFO_JSON_FILE = TEST_ID + '.mp4.info.json'
INFO_JSON_FILE = TEST_ID + '.info.json'
DESCRIPTION_FILE = TEST_ID + '.mp4.description'
EXPECTED_DESCRIPTION = u'''test chars: "'/\ä↭𝕐


+ 1
- 1
youtube_dl/YoutubeDL.py View File

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


Loading…
Cancel
Save