api/tests: create duitang tests

This commit is contained in:
hyperdefined 2025-06-27 20:18:09 -04:00
parent 4b5bf5e556
commit 0baa7a5c77
No known key found for this signature in database
GPG Key ID: 38C93C4835071D4A

View File

@ -0,0 +1,37 @@
[
{
"name": "regular album",
"url": "https://www.duitang.com/atlas/?id=135382417",
"params": {},
"expected": {
"code": 200,
"status": "picker"
}
},
{
"name": "single image",
"url": "https://www.duitang.com/blog/?id=1517805784",
"params": {},
"expected": {
"code": 200,
"status": "picker"
}
},
{
"name": "single image, mobile link",
"url": "https://m.duitang.com/blog/?id=1517805784",
"params": {},
"expected": {
"code": 200,
"status": "picker"
}
},
{
"name": "regular album, mobile link",
"url": "https://m.duitang.com/atlas/?id=135382417",
"expected": {
"code": 200,
"status": "picker"
}
}
]