mirror of
https://github.com/imputnet/cobalt.git
synced 2026-03-09 23:33:00 -05:00
[PR #1064] [MERGED] api: add support for xiaohongshu (rednote) #1307
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/imputnet/cobalt/pull/1064
Author: @wukko
Created: 1/20/2025
Status: ✅ Merged
Merged: 1/20/2025
Merged by: @github-actions[bot]
Base:
10.6← Head:xiaohongshu-support📝 Commits (10+)
9bdcb9dapi/utils: update getRedirectingURL to accept more statuses & dispatcher63b2681api/match-action: always proxy photosed8f435api/processing: add support for xiaohongshuad6f29aapi/tests: add xiaohongshu testscd466a4api/tests/bsky: fix expected photo test statuscd0a2a4api/tests/pinterest: update expected photo statusde5eca1api/utils: replace redirectStatuses array with a set3cbed87api/xiaohongshu: update initial state extraction regex4963c9fapi/xiaohongshu: remove duplicated extraction errore39b0aeapi/xiaohongshu: deduplicate h264 stream extraction📊 Changes
13 files changed (+246 additions, -29 deletions)
View changed files
📝
api/src/misc/utils.js(+11 -3)📝
api/src/processing/match-action.js(+3 -1)📝
api/src/processing/match.js(+10 -0)📝
api/src/processing/service-config.js(+8 -0)📝
api/src/processing/service-patterns.js(+4 -0)➕
api/src/processing/services/xiaohongshu.js(+116 -0)📝
api/src/processing/url.js(+18 -8)📝
api/src/util/tests/bsky.json(+1 -1)📝
api/src/util/tests/pinterest.json(+4 -4)➕
api/src/util/tests/xiaohongshu.json(+58 -0)📝
docs/api.md(+1 -1)📝
web/i18n/en/settings.json(+3 -3)📝
web/src/routes/settings/video/+page.svelte(+9 -8)📄 Description
closes #1025
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.