api/processing: add support for xiaohongshu

This commit is contained in:
wukko
2025-01-20 19:10:02 +06:00
parent 63b2681017
commit ed8f4353ea
6 changed files with 165 additions and 8 deletions

View File

@@ -71,4 +71,8 @@ export const testers = {
"bsky": pattern =>
pattern.user?.length <= 128 && pattern.post?.length <= 128,
"xiaohongshu": pattern =>
pattern.id?.length <= 24 && pattern.token?.length <= 64
|| pattern.shareId?.length <= 12,
}