[postimg] force 'postimg.cc' domain (#8505)

This commit is contained in:
Mike Fährmann
2025-11-04 08:41:53 +01:00
parent 5591a16cd7
commit 7ed04d830e
3 changed files with 15 additions and 7 deletions

View File

@@ -12,6 +12,7 @@ __tests__ = (
"#url" : "https://postimages.org/Wtn2b3hC",
"#category": ("imagehost", "postimg", "image"),
"#class" : imagehosts.PostimgImageExtractor,
"#results" : "https://i.postimg.cc/PhJZt1Rw/test-tesuto.png?dl=1",
},
{
@@ -30,9 +31,13 @@ __tests__ = (
"#url" : "https://postimg.cc/Wtn2b3hC",
"#category": ("imagehost", "postimg", "image"),
"#class" : imagehosts.PostimgImageExtractor,
"#sha1_url" : "72f3c8b1d6c6601a20ad58f35635494b4891a99e",
"#results" : "https://i.postimg.cc/PhJZt1Rw/test-tesuto.png?dl=1",
"#sha1_metadata": "2d05808d04e4e83e33200db83521af06e3147a84",
"#sha1_content" : "cfaa8def53ed1a575e0c665c9d6d8cf2aac7a0ee",
"extension": "",
"filename" : "test-テスト-\"&>",
"token" : "Wtn2b3hC",
},
{