Loading source
Pulling the file list, source metadata, and syntax-aware rendering for this listing.
Source from repo
Search, analyze, and interact with Xiaohongshu (RedNote/小红书) content via a local MCP server and shell scripts.
Files
Skill
Size
Entrypoint
Format
Open file
Syntax-highlighted preview of this file as included in the skill package.
scripts/export-long-image.sh
1#!/bin/bash2# 小红书帖子导出长图3#4# 用法:5# ./export-long-image.sh --posts-file posts.json -o output.jpg6# ./export-long-image.sh --posts '<json>' -o output.jpg7#8# posts.json 示例:9# [10# {11# "title": "帖子标题",12# "author": "作者",13# "stats": "1.3万赞 100收藏",14# "desc": "正文摘要",15# "images": ["https://...webp", "https://...webp"]16# }17# ]1819SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"20python3 "$SCRIPT_DIR/export-long-image.py" "$@"21