From 57c30fdc5babde52431e93e8a82edca8050d8323 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20F=C3=A4hrmann?= Date: Fri, 4 Oct 2024 09:16:31 +0200 Subject: [PATCH] [bunkr] support 'bunkr.pk' URLs (#6272) --- gallery_dl/extractor/bunkr.py | 2 +- test/results/bunkr.py | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gallery_dl/extractor/bunkr.py b/gallery_dl/extractor/bunkr.py index 780bdf11..9022ffc3 100644 --- a/gallery_dl/extractor/bunkr.py +++ b/gallery_dl/extractor/bunkr.py @@ -21,7 +21,7 @@ else: BASE_PATTERN = ( r"(?:bunkr:(?:https?://)?([^/?#]+)|" r"(?:https?://)?(?:app\.)?(bunkr+" - r"\.(?:s[kiu]|[cf]i|ru|la|is|to|a[cx]" + r"\.(?:s[kiu]|[cf]i|pk|ru|la|is|to|a[cx]" r"|black|cat|media|red|site|ws|org)))" ) diff --git a/test/results/bunkr.py b/test/results/bunkr.py index f6324a91..a98fb03c 100644 --- a/test/results/bunkr.py +++ b/test/results/bunkr.py @@ -57,6 +57,11 @@ __tests__ = ( "#count" : 9, }, +{ + "#url" : "https://bunkr.pk/a/Lktg9Keq", + "#class" : bunkr.BunkrAlbumExtractor, +}, + { "#url" : "https://bunkr.ax/a/Lktg9Keq", "#category": ("lolisafe", "bunkr", "album"),