スキル一覧に戻る
muzhicaomingwang

xhs-noteid

by muzhicaomingwang

1🍴 0📅 2026年1月24日
GitHubで見るManusで実行

SKILL.md


Extract noteId from XiaoHongShu shares

Fast path (no network)

  • Find and return the <noteId> in URLs like https://www.xiaohongshu.com/discovery/item/<noteId>.
  • Also accept share text that contains that URL; extract the same <noteId>.
  • Prefer returning only the ID (or noteId: <id> if the user wants a labeled answer).

If the user only provides a short link like http://xhslink.com/o/..., expand redirects to a long URL, then extract the <noteId> from /discovery/item/<noteId>.

  • Resolve redirect (requires network access/approval in sandboxed runs):
    • curl -sS -L -o /dev/null -w '%{url_effective}' '<short-url>'
  • Extract <noteId> from the resolved URL.

Script

Use scripts/extract_noteid.py for deterministic extraction and optional short-link resolution.

スコア

総合スコア

50/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

レビュー

💬

レビュー機能は近日公開予定です