Skip to content

Bulk asynchronous downloader for multiple file hosts

docs: add `--dump-json` (wiki)

NTFSvolume5e03abfabe40
diff --git a/docs/reference/configuration-options/settings/files.md b/docs/reference/configuration-options/settings/files.md
index f03409aab..b68ddae42 100644
--- a/docs/reference/configuration-options/settings/files.md
+++ b/docs/reference/configuration-options/settings/files.md
@@ -8,6 +8,42 @@
The path to the folder you want Cyberdrop-DL to download files to.
+
+## `dump_json`
+
+| Type | Default |
+| ------ | ------- |
+| `bool` | `False` |
+
+
+If enabled, CDL will created a [json lines](https://jsonlines.org/) files with the information about every file downloaded in the current run. The path to this file will be the same as `--main-log` but with the extension `.results.jsonl`
+
+Each line in the file will contain the following details (this may change on future versions):
+
+```json
+{
+ "url": "https://store9.gofile.io/download/web/7c88c147-ABCD-4e4d-9a6c-12345678/a_video.mp4",
+ "download_folder": "Downloads/Cyberdrop-DL Downloads/test_album (GoFile)",
+ "filename": "a_video.mp4",
+ "original_filename": "a_video.mp4",
+ "debrid_link": null,
+ "duration": null,
+ "ext": ".mp4",
+ "download_filename": "a_video.mp4",
+ "filesize": 1386362524,
+ "partial_file": "Downloads/Cyberdrop-DL Downloads/test_album (GoFile)/a_video.mp4.part",
+ "complete_file": "Downloads/Cyberdrop-DL Downloads/test_album (GoFile)/a_video.mp4",
+ "hash": "3eb33af55e51f7f369ecfebf86d34f99",
+ "downloaded": true,
+ "referer": "https://gofile.io/d/ABC123",
+ "album_id": "ABC123",
+ "datetime": "2024-11-18T16:55:45",
+ "parents": ["https://a_forum.com/threads/<name>.54321/post-123123"],
+ "parent_threads": ["https://a_forum.com/threads/<name>.54321"],
+ "attempts": 1
+}
+```
+
## `input_file`
| Type | Default |