From 72e697b8b58966a97f95b5d0ef1a02225b897807 Mon Sep 17 00:00:00 2001 From: Stephan Date: Thu, 8 Jun 2023 14:01:28 +0200 Subject: [PATCH 1/3] Update bunkr.py Support bunkrr.su --- 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 7c66fb0e..fe53ce37 100644 --- a/gallery_dl/extractor/bunkr.py +++ b/gallery_dl/extractor/bunkr.py @@ -16,7 +16,7 @@ class BunkrAlbumExtractor(LolisafeAlbumExtractor): """Extractor for bunkr.la albums""" category = "bunkr" root = "https://bunkr.la" - pattern = r"(?:https?://)?(?:app\.)?bunkr\.(?:la|[sr]u|is|to)/a/([^/?#]+)" + pattern = r"(?:https?://)?(?:app\.)?bunkrr?\.(?:la|[sr]u|is|to)/a/([^/?#]+)" test = ( ("https://bunkr.la/a/Lktg9Keq", { "pattern": r"https://cdn\.bunkr\.ru/test-テスト-\"&>-QjgneIQv\.png", From a7c066cbacb6ff249e6087431206a1fd62b913f6 Mon Sep 17 00:00:00 2001 From: Stephan Date: Thu, 8 Jun 2023 14:10:25 +0200 Subject: [PATCH 2/3] Update bunkr.py --- 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 fe53ce37..36091903 100644 --- a/gallery_dl/extractor/bunkr.py +++ b/gallery_dl/extractor/bunkr.py @@ -16,7 +16,7 @@ class BunkrAlbumExtractor(LolisafeAlbumExtractor): """Extractor for bunkr.la albums""" category = "bunkr" root = "https://bunkr.la" - pattern = r"(?:https?://)?(?:app\.)?bunkrr?\.(?:la|[sr]u|is|to)/a/([^/?#]+)" + pattern = r"(?:https?://)?(?:app\.)?bunkr+\.(?:la|[sr]u|is|to)/a/([^/?#]+)" test = ( ("https://bunkr.la/a/Lktg9Keq", { "pattern": r"https://cdn\.bunkr\.ru/test-テスト-\"&>-QjgneIQv\.png", From e0522ffb3d5082bfc1f7962730b8a225208da599 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20F=C3=A4hrmann?= Date: Thu, 8 Jun 2023 17:01:04 +0200 Subject: [PATCH 3/3] [bunkr] update --- docs/supportedsites.md | 2 +- gallery_dl/extractor/bunkr.py | 9 +++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/docs/supportedsites.md b/docs/supportedsites.md index b3d4b2ac..760cce94 100644 --- a/docs/supportedsites.md +++ b/docs/supportedsites.md @@ -111,7 +111,7 @@ Consider all sites to be NSFW unless otherwise known. Bunkr - https://bunkr.la/ + https://bunkrr.su/ Albums diff --git a/gallery_dl/extractor/bunkr.py b/gallery_dl/extractor/bunkr.py index 36091903..166a4f56 100644 --- a/gallery_dl/extractor/bunkr.py +++ b/gallery_dl/extractor/bunkr.py @@ -6,19 +6,19 @@ # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation. -"""Extractors for https://bunkr.la/""" +"""Extractors for https://bunkrr.su/""" from .lolisafe import LolisafeAlbumExtractor from .. import text class BunkrAlbumExtractor(LolisafeAlbumExtractor): - """Extractor for bunkr.la albums""" + """Extractor for bunkrr.su albums""" category = "bunkr" - root = "https://bunkr.la" + root = "https://bunkrr.su" pattern = r"(?:https?://)?(?:app\.)?bunkr+\.(?:la|[sr]u|is|to)/a/([^/?#]+)" test = ( - ("https://bunkr.la/a/Lktg9Keq", { + ("https://bunkrr.su/a/Lktg9Keq", { "pattern": r"https://cdn\.bunkr\.ru/test-テスト-\"&>-QjgneIQv\.png", "content": "0c8768055e4e20e7c7259608b67799171b691140", "keyword": { @@ -52,6 +52,7 @@ class BunkrAlbumExtractor(LolisafeAlbumExtractor): "num": int, }, }), + ("https://bunkrr.su/a/Lktg9Keq"), ("https://bunkr.la/a/Lktg9Keq"), ("https://bunkr.su/a/Lktg9Keq"), ("https://bunkr.ru/a/Lktg9Keq"),