# HG changeset patch # User Paper <37962225+mrpapersonic@users.noreply.github.com> # Date 1634165150 14400 # Node ID edbe4aff3b7816dae3630b30c78eea0bef87a4ca # Parent 861f4a9992ae36c783dda374211a1b3a54d8ea17 Update channeldownloader.py why did i even do that committer: GitHub diff -r 861f4a9992ae -r edbe4aff3b78 channeldownloader.py --- a/channeldownloader.py Mon Aug 16 23:07:23 2021 -0400 +++ b/channeldownloader.py Wed Oct 13 18:45:50 2021 -0400 @@ -181,13 +181,6 @@ print(" unknown error downloading video!") print(e) # metadata - meta = { - "fulltitle": i["title"], - "description": i["description"], - "upload_date": i["upload_date"], - "uploader": i["uploader"] - } - metajson = json.dumps(meta) with open("{2}\\{0}-{1}.info.json".format(sanitize_filename(i["title"], restricted=True), i["id"], output), "w") as jsonfile: - print(metajson, end="", file=jsonfile) + print(json.dumps(i), end="", file=jsonfile) print(" saved {0}-{1}.info.json".format(sanitize_filename(i["title"], restricted=True), i["id"], output))