[bunkr] update default archive ID format (#6935)

use 'name' when there is no proper 'id' value available.
This commit is contained in:
Mike Fährmann
2025-02-05 21:36:52 +01:00
parent 873cbf6b36
commit b9675ea764
2 changed files with 11 additions and 0 deletions

View File

@@ -60,6 +60,7 @@ class BunkrAlbumExtractor(LolisafeAlbumExtractor):
"""Extractor for bunkr.si albums"""
category = "bunkr"
root = "https://bunkr.si"
archive_fmt = "{album_id}_{id|name}"
pattern = BASE_PATTERN + r"/a/([^/?#]+)"
example = "https://bunkr.si/a/ID"