From 84b5b1e5e4859e6ffdd09f930ac560bbcd2b1f29 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20F=C3=A4hrmann?= Date: Thu, 12 Feb 2026 19:26:46 +0100 Subject: [PATCH] [koofer] include '{hash}' in default filenames --- gallery_dl/extractor/koofr.py | 1 + 1 file changed, 1 insertion(+) diff --git a/gallery_dl/extractor/koofr.py b/gallery_dl/extractor/koofr.py index 5c029447..80b0ab5a 100644 --- a/gallery_dl/extractor/koofr.py +++ b/gallery_dl/extractor/koofr.py @@ -18,6 +18,7 @@ class KoofrSharedExtractor(Extractor): subcategory = "shared" root = "https://app.koofr.net" directory_fmt = ("{category}", "{post[title]} ({post[id]})", "{path:I}") + filename_fmt = "{filename} ({hash[:8]}).{extension}" archive_fmt = "{post[id]}_{path:J/}_{hash|id}" pattern = (r"(?:https?://)?(?:" r"(?:app\.)?koofr\.(?:net|eu)/links/([\w-]+)|"