[fappic] fix 'filename'

This commit is contained in:
Mike Fährmann
2025-08-11 18:41:40 +02:00
parent 4b3b2ad111
commit d7f654c643
2 changed files with 8 additions and 2 deletions

View File

@@ -15,12 +15,16 @@ __tests__ = (
},
{
"#url" : "https://www.fappic.com/98wxqcklyh8k/test.png",
"#url" : "https://www.fappic.com/98wxqcklyh8k/foo.bar",
"#category": ("imagehost", "fappic", "image"),
"#class" : imagehosts.FappicImageExtractor,
"#pattern" : r"https://img\d+\.fappic\.com/img/\w+/test\.png",
"#sha1_metadata": "433b1d310b0ff12ad8a71ac7b9d8ba3f8cd1e898",
"#sha1_content" : "0c8768055e4e20e7c7259608b67799171b691140",
"filename" : "test",
"extension" : "png",
"token" : "98wxqcklyh8k",
},
)