From 6bcd3c9380a8c7b5bbb0a09b15d20f47c474179f Mon Sep 17 00:00:00 2001 From: Jeff Mercado Date: Mon, 29 Jan 2024 18:14:00 -0800 Subject: [PATCH 1/2] [bunkr] add new bunkr domains (#5130) --- gallery_dl/extractor/bunkr.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gallery_dl/extractor/bunkr.py b/gallery_dl/extractor/bunkr.py index a6eb76ec..6748451a 100644 --- a/gallery_dl/extractor/bunkr.py +++ b/gallery_dl/extractor/bunkr.py @@ -12,7 +12,7 @@ from .lolisafe import LolisafeAlbumExtractor from .. import text from urllib.parse import urlsplit, urlunsplit -BASE_PATTERN = r"(?:https?://)?(?:app\.)?bunkr+\.(?:sk|[rs]u|la|is|to)" +BASE_PATTERN = r"(?:https?://)?(?:app\.)?bunkr+\.(?:sk|[rs]u|la|is|to|si|ac|black|cat|media|red|site|ws)" MEDIA_DOMAIN_OVERRIDES = { "cdn9.bunkr.ru" : "c9.bunkr.ru", From d9d0601ab1ec9a66c4c1ca633f2eaf4018da043d Mon Sep 17 00:00:00 2001 From: Jeff Mercado Date: Mon, 29 Jan 2024 20:31:58 -0800 Subject: [PATCH 2/2] break up line to fit 80 char --- gallery_dl/extractor/bunkr.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gallery_dl/extractor/bunkr.py b/gallery_dl/extractor/bunkr.py index 6748451a..0d865eba 100644 --- a/gallery_dl/extractor/bunkr.py +++ b/gallery_dl/extractor/bunkr.py @@ -12,7 +12,10 @@ from .lolisafe import LolisafeAlbumExtractor from .. import text from urllib.parse import urlsplit, urlunsplit -BASE_PATTERN = r"(?:https?://)?(?:app\.)?bunkr+\.(?:sk|[rs]u|la|is|to|si|ac|black|cat|media|red|site|ws)" +BASE_PATTERN = ( + r"(?:https?://)?(?:app\.)?bunkr+" + r"\.(?:sk|[rs]u|la|is|to|si|ac|black|cat|media|red|site|ws)" +) MEDIA_DOMAIN_OVERRIDES = { "cdn9.bunkr.ru" : "c9.bunkr.ru",