1
0
mirror of https://github.com/mikf/gallery-dl.git synced 2024-11-22 02:32:33 +01:00

[bunkr] support 'bunkr.pk' URLs (#6272)

This commit is contained in:
Mike Fährmann 2024-10-04 09:16:31 +02:00
parent 5b968a0a7c
commit 57c30fdc5b
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88
2 changed files with 6 additions and 1 deletions

View File

@ -21,7 +21,7 @@ else:
BASE_PATTERN = (
r"(?:bunkr:(?:https?://)?([^/?#]+)|"
r"(?:https?://)?(?:app\.)?(bunkr+"
r"\.(?:s[kiu]|[cf]i|ru|la|is|to|a[cx]"
r"\.(?:s[kiu]|[cf]i|pk|ru|la|is|to|a[cx]"
r"|black|cat|media|red|site|ws|org)))"
)

View File

@ -57,6 +57,11 @@ __tests__ = (
"#count" : 9,
},
{
"#url" : "https://bunkr.pk/a/Lktg9Keq",
"#class" : bunkr.BunkrAlbumExtractor,
},
{
"#url" : "https://bunkr.ax/a/Lktg9Keq",
"#category": ("lolisafe", "bunkr", "album"),