# HG changeset patch # User Paper <37962225+mrpapersonic@users.noreply.github.com> # Date 1634165150 14400 # Node ID b50c74fc47b5dbe9ddf48b49cbc9a1f2fb871a7c # Parent d098a293a02d305afd440fd1e9cc69f4e937ec60 Update channeldownloader.py why did i even do that committer: GitHub diff -r d098a293a02d -r b50c74fc47b5 channeldownloader.py --- a/channeldownloader.py Sat Jul 31 01:38:46 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))