api/tests: update outdated tests

This commit is contained in:
wukko 2026-03-30 16:03:19 +06:00
parent 23463d518b
commit 8cefaab1bd
No known key found for this signature in database
GPG Key ID: 3E30B3F26C7B4AA2
4 changed files with 13 additions and 39 deletions

View File

@ -59,7 +59,7 @@
},
{
"name": "bilibili.com link with part id",
"url": "https://www.bilibili.com/video/BV1uo4y1K72s?spm_id_from=333.788.videopod.episodes&p=6",
"url": "https://www.bilibili.com/video/BV1bK411W797?p=3&spm_id_from=333.788.videopod.episodes",
"params": {},
"expected": {
"code": 200,

View File

@ -26,15 +26,6 @@
"status": "redirect"
}
},
{
"name": "shortlink video",
"url": "https://fb.watch/r1K6XHMfGT/",
"params": {},
"expected": {
"code": 200,
"status": "redirect"
}
},
{
"name": "reel video",
"url": "https://web.facebook.com/reel/730293269054758",
@ -46,15 +37,6 @@
},
{
"name": "shared video link",
"url": "https://www.facebook.com/share/v/6EJK4Z8EAEAHtz8K/",
"params": {},
"expected": {
"code": 200,
"status": "redirect"
}
},
{
"name": "shared video link v2",
"url": "https://web.facebook.com/share/r/JFZfPVgLkiJQmWrr/",
"params": {},
"expected": {

View File

@ -19,15 +19,6 @@
"status": "tunnel"
}
},
{
"name": "russian region lock",
"url": "https://rutube.ru/video/b521653b4f71ece57b8ff54e57ca9b82/",
"params": {},
"expected": {
"code": 400,
"status": "error"
}
},
{
"name": "vertical video",
"url": "https://rutube.ru/video/18a281399b96f9184c647455a86f6724/",
@ -88,7 +79,17 @@
}
},
{
"name": "region locked video, should fail",
"name": "russian region lock",
"url": "https://rutube.ru/video/b521653b4f71ece57b8ff54e57ca9b82/",
"canFail": true,
"params": {},
"expected": {
"code": 400,
"status": "error"
}
},
{
"name": "region locked video",
"canFail": true,
"url": "https://rutube.ru/video/e7ac82708cc22bd068a3bf6a7004d1b1/",
"params": {},
@ -97,4 +98,4 @@
"status": "error"
}
}
]
]

View File

@ -8,15 +8,6 @@
"status": "redirect"
}
},
{
"name": "shortlinked spotlight",
"url": "https://t.snapchat.com/4ZsiBLDi",
"params": {},
"expected": {
"code": 200,
"status": "redirect"
}
},
{
"name": "story",
"url": "https://www.snapchat.com/add/bazerkmakane",