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

[bunkr] support 'bunkr.ps' URLs

This commit is contained in:
Mike Fährmann 2024-10-14 16:27:09 +02:00
parent 4358799833
commit 6506afb257
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|pk|ru|la|is|to|a[cx]"
r"\.(?:s[kiu]|[cf]i|p[ks]|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.ps/a/Lktg9Keq",
"#class" : bunkr.BunkrAlbumExtractor,
},
{
"#url" : "https://bunkr.pk/a/Lktg9Keq",
"#class" : bunkr.BunkrAlbumExtractor,