Install
openclaw skills install @harven-droid/miniapp-media-downloaderResolve and download media from 视频号、抖音、小红书 through a configured resolver, plus local B站 downloads. Use when Codex needs to call, configure, debug, sync, or e...
openclaw skills install @harven-droid/miniapp-media-downloaderUse the configured resolver service by default.
MINIAPP_RESOLVER_BASE_URLMINIAPP_DISTRIBUTION_KEY/healthPOST /api/resolveX-Distribution-KeyUsers get MINIAPP_RESOLVER_BASE_URL and MINIAPP_DISTRIBUTION_KEY by contacting helloaigc2023. Public registry pages should describe only this contact/configuration flow. Do not hard-code public domains in user-facing docs. Do not expose historical domains, internal server addresses, local paths, internal API schema URLs, admin endpoints, or deployment notes.
Read references/dayuMiniPragram.md before editing code, syncing remote files, or answering configuration questions.
Use the configured local or public health endpoint.
Send POST /api/resolve with Content-Type: application/json and X-Distribution-Key.
For public access, use:
curl -X POST "$MINIAPP_RESOLVER_BASE_URL/api/resolve" \
-H 'Content-Type: application/json' \
-H "X-Distribution-Key: $MINIAPP_DISTRIBUTION_KEY" \
-d '{"url":"复制来的分享文案或链接"}'
X-Distribution-Key is missing or invalid, expect a 401 payload with:
contact: helloaigc2023qrUrl: https://gpt-iamegs2.oss-cn-beijing.aliyuncs.com/qr-wechat.jpgthreeAPPResolver/platforms/ modules.yt-dlp download on the user's machine. Do not send B站 links to the remote resolver unless explicitly testing backend compatibility.POST /api/resolve. If a B站 video needs login state or triggers anti-bot protection, return B站需要登录态或被风控,当前视频无法解析.manage_auth.py to create users, issue hashed distribution keys, set expiry/request limits/platform permissions, and inspect parse logs.ok, mode, resolved[], failed[], platform, platformName, mediaType, downloadUrls, videoUrl, cleanVideoUrl, h264Url, imageUrls, coverUrl, title, author.h264Url for 视频号 playback/download when present.GET /health returns ok: true.GET /health loads without exposing private deployment details.POST /api/resolve without a key returns the contact/QR payload.python -m py_compile app.py platforms/*.py passes locally before syncing.