[artstation] fix handling usernames with dashes

This commit is contained in:
blankie
2024-02-21 17:39:37 +11:00
parent 741fd00cec
commit 962f55cc68
2 changed files with 24 additions and 3 deletions

View File

@@ -157,4 +157,25 @@ __tests__ = (
"#count" : ">= 40",
},
{
"#url" : "https://fede-x-rojas.artstation.com/projects/WBdaZy",
"#comment" : "dash in username",
"#category": ("", "artstation", "image"),
"#class" : artstation.ArtstationImageExtractor,
},
{
"#url" : "https://fede-x-rojas.artstation.com/albums/8533110",
"#comment" : "dash in username",
"#category": ("", "artstation", "album"),
"#class" : artstation.ArtstationAlbumExtractor,
},
{
"#url" : "https://fede-x-rojas.artstation.com/",
"#comment" : "dash in username",
"#category": ("", "artstation", "user"),
"#class" : artstation.ArtstationUserExtractor,
},
)