1
0
mirror of https://github.com/mikf/gallery-dl.git synced 2024-11-22 18:53:21 +01:00

merge #4159: [bunkr] update domain to bunkrr.su

This commit is contained in:
Mike Fährmann 2023-06-08 17:02:54 +02:00
commit aad5e6490c
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88
2 changed files with 7 additions and 6 deletions

View File

@ -111,7 +111,7 @@ Consider all sites to be NSFW unless otherwise known.
</tr> </tr>
<tr> <tr>
<td>Bunkr</td> <td>Bunkr</td>
<td>https://bunkr.la/</td> <td>https://bunkrr.su/</td>
<td>Albums</td> <td>Albums</td>
<td></td> <td></td>
</tr> </tr>

View File

@ -6,19 +6,19 @@
# it under the terms of the GNU General Public License version 2 as # it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation. # published by the Free Software Foundation.
"""Extractors for https://bunkr.la/""" """Extractors for https://bunkrr.su/"""
from .lolisafe import LolisafeAlbumExtractor from .lolisafe import LolisafeAlbumExtractor
from .. import text from .. import text
class BunkrAlbumExtractor(LolisafeAlbumExtractor): class BunkrAlbumExtractor(LolisafeAlbumExtractor):
"""Extractor for bunkr.la albums""" """Extractor for bunkrr.su albums"""
category = "bunkr" category = "bunkr"
root = "https://bunkr.la" root = "https://bunkrr.su"
pattern = r"(?:https?://)?(?:app\.)?bunkr\.(?:la|[sr]u|is|to)/a/([^/?#]+)" pattern = r"(?:https?://)?(?:app\.)?bunkr+\.(?:la|[sr]u|is|to)/a/([^/?#]+)"
test = ( test = (
("https://bunkr.la/a/Lktg9Keq", { ("https://bunkrr.su/a/Lktg9Keq", {
"pattern": r"https://cdn\.bunkr\.ru/test-テスト-\"&>-QjgneIQv\.png", "pattern": r"https://cdn\.bunkr\.ru/test-テスト-\"&>-QjgneIQv\.png",
"content": "0c8768055e4e20e7c7259608b67799171b691140", "content": "0c8768055e4e20e7c7259608b67799171b691140",
"keyword": { "keyword": {
@ -52,6 +52,7 @@ class BunkrAlbumExtractor(LolisafeAlbumExtractor):
"num": int, "num": int,
}, },
}), }),
("https://bunkrr.su/a/Lktg9Keq"),
("https://bunkr.la/a/Lktg9Keq"), ("https://bunkr.la/a/Lktg9Keq"),
("https://bunkr.su/a/Lktg9Keq"), ("https://bunkr.su/a/Lktg9Keq"),
("https://bunkr.ru/a/Lktg9Keq"), ("https://bunkr.ru/a/Lktg9Keq"),