api: support new xiaohongshu links, add fallbacks to getRedirectingURL

closes #1394
Co-authored-by: wukko <me@wukko.me>
This commit is contained in:
KwiatekMiki
2025-07-12 15:10:08 +02:00
committed by wukko
parent b9042a94e9
commit 3f785e7cbe
6 changed files with 33 additions and 17 deletions

View File

@@ -207,7 +207,7 @@ export const services = {
patterns: [
"explore/:id?xsec_token=:token",
"discovery/item/:id?xsec_token=:token",
"a/:shareId"
":shareType/:shareId",
],
altDomains: ["xhslink.com"],
},