Skip to content

Bulk asynchronous downloader for multiple file hosts

refactor: update file formats

NTFSvolume85d96ade250b
diff --git a/cyberdrop_dl/utils/constants.py b/cyberdrop_dl/utils/constants.py
index da77ce8fb..a838364d3 100644
--- a/cyberdrop_dl/utils/constants.py
+++ b/cyberdrop_dl/utils/constants.py
@@ -81,11 +81,13 @@ FILE_FORMATS = {
"Images": {
".gif",
".gifv",
+ ".heic",
".jfif",
".jif",
".jpe",
".jpeg",
".jpg",
+ ".jxl",
".png",
".svg",
".tif",
@@ -93,10 +95,12 @@ FILE_FORMATS = {
".webp",
},
"Videos": {
+ ".3gp",
".avchd",
".avi",
".f4v",
".flv",
+ ".m2ts",
".m4p",
".m4v",
".mkv",
@@ -109,6 +113,7 @@ FILE_FORMATS = {
".mpv",
".mts",
".ogg",
+ ".ogv",
".qt",
".swf",
".ts",
@@ -118,6 +123,7 @@ FILE_FORMATS = {
"Audio": {
".flac",
".m4a",
+ ".mka",
".mp3",
".wav",
},
@@ -130,9 +136,9 @@ FILE_FORMATS = {
},
"7z": {
".7z",
- ".tar",
- ".gz",
".bz2",
+ ".gz",
+ ".tar",
".zip",
},
}