Skip to content

best way to save what you love

api/tests/xiaohongshu: update the video link & allow to fail

wukko1be9a8674547
diff --git a/api/src/util/tests/xiaohongshu.json b/api/src/util/tests/xiaohongshu.json
index e3feedb3..a169cc23 100644
--- a/api/src/util/tests/xiaohongshu.json
+++ b/api/src/util/tests/xiaohongshu.json
@@ -1,7 +1,8 @@
[
{
- "name": "long link video",
- "url": "https://www.xiaohongshu.com/discovery/item/6789065900000000210035fc?source=webshare&xhsshare=pc_web&xsec_token=CBustnz_Twf1BSybpe5-D-BzUb-Bx28DPLb418TN9S9Kk&xsec_source=pc_share",
+ "name": "video (might have expired)",
+ "url": "https://www.xiaohongshu.com/explore/67cc17a3000000000e00726a?xsec_token=CBSFRtbF57so920elY1kbIX4fE1nhrwlpGZs9m6pIFpwo=",
+ "canFail": true,
"params": {},
"expected": {
"code": 200,
@@ -9,8 +10,9 @@
}
},
{
- "name": "picker with multiple live photos",
+ "name": "picker with multiple live photos (might have expired)",
"url": "https://www.xiaohongshu.com/explore/67c691b4000000000d0159cc?xsec_token=CB8p1eyB5DiFkwlUpy1BTeVsI9oOve6ppNjuDzo8V8p5w=",
+ "canFail": true,
"params": {},
"expected": {
"code": 200,
@@ -18,8 +20,9 @@
}
},
{
- "name": "one photo",
+ "name": "one photo (might have expired)",
"url": "https://www.xiaohongshu.com/explore/676e132d000000000b016f68?xsec_token=ABRv6LKzizOFeSaf2HnnBkdBqniB5Ak1fI8tMAHzO31jA",
+ "canFail": true,
"params": {},
"expected": {
"code": 200,
@@ -27,7 +30,7 @@
}
},
{
- "name": "short link, might expire eventually",
+ "name": "short link (might have expired)",
"url": "https://xhslink.com/a/czn4z6c1tic4",
"canFail": true,
"params": {},