Skip to content

Commit

Permalink
[bunkr] update domain to 'bunkr.la'
Browse files Browse the repository at this point in the history
  • Loading branch information
mikf committed Mar 28, 2023
1 parent 82f83c1 commit 421db26
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 7 deletions.
2 changes: 1 addition & 1 deletion docs/supportedsites.md
Expand Up @@ -111,7 +111,7 @@ Consider all sites to be NSFW unless otherwise known.
</tr>
<tr>
<td>Bunkr</td>
<td>https://bunkr.su/</td>
<td>https://bunkr.la/</td>
<td>Albums</td>
<td></td>
</tr>
Expand Down
14 changes: 9 additions & 5 deletions gallery_dl/extractor/bunkr.py
Expand Up @@ -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": {
Expand Down Expand Up @@ -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"),
)

Expand Down
2 changes: 1 addition & 1 deletion gallery_dl/version.py
Expand Up @@ -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"

0 comments on commit 421db26

Please sign in to comment.