[bunkr] support 'bunkr:' URL prefix (#6017)

and support 'bunkr.ax' by default
This commit is contained in:
Mike Fährmann
2024-08-14 18:56:47 +02:00
parent 2d55521582
commit 0bbdeaaa50
4 changed files with 23 additions and 10 deletions

View File

@@ -57,6 +57,12 @@ __tests__ = (
"#count" : 9,
},
{
"#url" : "https://bunkr.ax/a/Lktg9Keq",
"#category": ("lolisafe", "bunkr", "album"),
"#class" : bunkr.BunkrAlbumExtractor,
},
{
"#url" : "https://bunkrrr.org/a/Lktg9Keq",
"#category": ("lolisafe", "bunkr", "album"),
@@ -147,6 +153,12 @@ __tests__ = (
"#class" : bunkr.BunkrAlbumExtractor,
},
{
"#url" : "bunkr:http://example.org/a/Lktg9Keq",
"#category": ("lolisafe", "bunkr", "album"),
"#class" : bunkr.BunkrAlbumExtractor,
},
{
"#url" : "https://bunkr.black/i/image-sZrQUeOx.jpg",
"#category": ("lolisafe", "bunkr", "media"),