From 727e53f513d608b917e508e0c8bccd8dd4d5ac60 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20F=C3=A4hrmann?= Date: Sun, 21 Jul 2024 06:41:50 +0200 Subject: [PATCH] [bunkr] support 'bunkr.fi' URLs (#5872) --- gallery_dl/extractor/bunkr.py | 2 +- test/results/bunkr.py | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gallery_dl/extractor/bunkr.py b/gallery_dl/extractor/bunkr.py index a0933474..77f0de6d 100644 --- a/gallery_dl/extractor/bunkr.py +++ b/gallery_dl/extractor/bunkr.py @@ -13,7 +13,7 @@ from .. import text BASE_PATTERN = ( r"(?:https?://)?(?:app\.)?(bunkr+" - r"\.(?:s[kiu]|ru|la|is|to|ac|black|cat|media|red|site|ws))" + r"\.(?:s[kiu]|fi|ru|la|is|to|ac|black|cat|media|red|site|ws))" ) LEGACY_DOMAINS = { diff --git a/test/results/bunkr.py b/test/results/bunkr.py index 95cdd3fa..0e0ee66c 100644 --- a/test/results/bunkr.py +++ b/test/results/bunkr.py @@ -57,6 +57,12 @@ __tests__ = ( "#count" : 9, }, +{ + "#url" : "https://bunkr.fi/a/Lktg9Keq", + "#category": ("lolisafe", "bunkr", "album"), + "#class" : bunkr.BunkrAlbumExtractor, +}, + { "#url" : "https://bunkr.si/a/Lktg9Keq", "#category": ("lolisafe", "bunkr", "album"),