Skip to content

Commit

Permalink
[bunkr] support 'bunkr.fi' URLs (#5872)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikf committed Jul 21, 2024
1 parent a595949 commit 727e53f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion gallery_dl/extractor/bunkr.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

BASE_PATTERN = (
r"(?:https?://)?(?:app\.)?(bunkr+"
r"\.(?:s[kiu]|ru|la|is|to|ac|black|cat|media|red|site|ws))"
r"\.(?:s[kiu]|fi|ru|la|is|to|ac|black|cat|media|red|site|ws))"
)

LEGACY_DOMAINS = {
Expand Down
6 changes: 6 additions & 0 deletions test/results/bunkr.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,12 @@
"#count" : 9,
},

{
"#url" : "https://bunkr.fi/a/Lktg9Keq",
"#category": ("lolisafe", "bunkr", "album"),
"#class" : bunkr.BunkrAlbumExtractor,
},

{
"#url" : "https://bunkr.si/a/Lktg9Keq",
"#category": ("lolisafe", "bunkr", "album"),
Expand Down

0 comments on commit 727e53f

Please sign in to comment.