diff --git a/docs/supportedsites.md b/docs/supportedsites.md index 1876b045..3a1d883a 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.su/ + https://bunkr.la/ Albums diff --git a/gallery_dl/extractor/bunkr.py b/gallery_dl/extractor/bunkr.py index 17d066d4..7c66fb0e 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.su/""" +"""Extractors for https://bunkr.la/""" from .lolisafe import LolisafeAlbumExtractor from .. import text class BunkrAlbumExtractor(LolisafeAlbumExtractor): - """Extractor for bunkr.su albums""" + """Extractor for bunkr.la albums""" category = "bunkr" - root = "https://bunkr.su" - pattern = r"(?:https?://)?(?:app\.)?bunkr\.(?:[sr]u|is|to)/a/([^/?#]+)" + root = "https://bunkr.la" + pattern = r"(?:https?://)?(?:app\.)?bunkr\.(?:la|[sr]u|is|to)/a/([^/?#]+)" test = ( - ("https://bunkr.su/a/Lktg9Keq", { + ("https://bunkr.la/a/Lktg9Keq", { "pattern": r"https://cdn\.bunkr\.ru/test-ใƒ†ใ‚นใƒˆ-\"&>-QjgneIQv\.png", "content": "0c8768055e4e20e7c7259608b67799171b691140", "keyword": { @@ -52,6 +52,10 @@ class BunkrAlbumExtractor(LolisafeAlbumExtractor): "num": int, }, }), + ("https://bunkr.la/a/Lktg9Keq"), + ("https://bunkr.su/a/Lktg9Keq"), + ("https://bunkr.ru/a/Lktg9Keq"), + ("https://bunkr.is/a/Lktg9Keq"), ("https://bunkr.to/a/Lktg9Keq"), ) diff --git a/gallery_dl/version.py b/gallery_dl/version.py index 93a91487..bce347a1 100644 --- a/gallery_dl/version.py +++ b/gallery_dl/version.py @@ -6,4 +6,4 @@ # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation. -__version__ = "1.25.1" +__version__ = "1.25.2-dev"