← 返回
未分类 中文

Pinterest Browser Publisher

Automate Pinterest pin publishing via browser automation (Playwright). No API key needed. Supports jp.pinterest.com, single pins, carousels, and batch publis...
通过 Playwright 浏览器自动化实现 Pinterest Pin 的自动发布,无需 API 密钥,支持 jp.pinterest.com、单 Pin、轮播图以及批量发布。
luoboask
未分类 clawhub v1.0.2 1 版本 100000 Key: 无需
★ 0
Stars
📥 430
下载
💾 0
安装
1
版本
#latest

概述

Pinterest Browser Publisher

Browser-based Pinterest automation using Playwright. No API required. Supports jp.pinterest.com with Japanese copywriting.

Quick Start

1. Install Dependencies

npm install -g playwright
playwright install chromium
cd skills/pinterest-browser-publisher
npm install

2. First-Time Login (Save Cookies)

node scripts/force-login.js

Opens browser → Log in manually → Cookies saved to ~/.config/pinterest/cookies.json

3. Publish Pins

# Auto-publish configured pins
node scripts/publish-fix.js

# Batch publish all pins
node scripts/auto-publish-all.js

# Single pin with custom params
node scripts/publish-jp-direct.js --images "./pin.png" --title "タイトル" --description "説明"

Scripts Overview

ScriptPurposeParameters
-----------------------------
force-login.jsLogin & save cookiesNone
publish-fix.jsAuto-publish configured pinsBuilt-in config
auto-publish-all.jsBatch publish all pinsBuilt-in config
publish-jp-direct.jsSingle pin publish--images, --title, --description

Configuration

Cookie Storage

~/.config/pinterest/cookies.json (valid ~30 days)

Config File

~/.config/pinterest/config.json

{
  "headless": false,
  "slowMo": 100,
  "postDelay": 30000,
  "randomizeTiming": true
}

Custom Publishing

Edit scripts/publish-fix.js pins array:

const pins = [
  {
    image: '/path/to/image.png',
    title: '✨ピンタイトル✨',
    description: '説明テキスト #ハッシュタグ #日本語'
  }
];

Best Practices

Title Optimization

  • ✅ Use emoji (✨🌿💎🥐🪵)
  • ✅ Include keywords
  • ✅ Keep under 50 characters

Description Optimization

  • ✅ First 50 chars = core message
  • ✅ Use bullet points
  • ✅ Add 5-10 hashtags

Posting Schedule (JST)

  • 🌅 7:00-8:00 (commute)
  • 🍱 12:00-13:00 (lunch)
  • 🌙 20:00-22:00 (bedtime)

Rate Limits

  • Max 10 pins/hour
  • Max 50 pins/day
  • 20-30s delay between pins

Image Requirements

PropertyRequirement
-----------------------
FormatPNG, JPG
Min Width1000px
Ratio2:3 or 4:5 (portrait)
Size< 20MB

Example Pins

Home Decor

{
  image: './pins/home01.png',
  title: '✨轻奢×中古ミックス✨大人の部屋作りアイデア',
  description: '高級感とヴィンテージの絶妙なバランス🏠 #轻奢风 #中古风 #家居灵感'
}

Fashion

{
  image: './pins/outfit01.png',
  title: '👗优衣库神搭配👗5 着で 7 デイズコーデ',
  description: '着回し力抜群のアイテムで、一週間コーデが完成!#优衣库 #穿搭 #日系'
}

Plants

{
  image: './pins/plant01.png',
  title: '🌿室内绿植推荐🌿初心者でも育てやすい 10 選',
  description: '日陰でも育つ、手間いらずの観葉植物まとめました🪴 #植物 #绿植 #室内'
}

Troubleshooting

Cookie Expired

node scripts/force-login.js  # Re-login

Upload Failed

  • Check image path is correct
  • Verify PNG/JPG format
  • Ensure file size < 20MB

Title/Description Not Filled

  • Pinterest UI may have changed
  • Update selectors in script
  • Manual fallback available

Pin Not Visible After Publish

  • Wait 2-5 minutes for review
  • Refresh Pinterest homepage
  • Check spam folder

Verification

After publishing, check screenshots:

/tmp/fix*-done.png
/tmp/rem*-done.png

Success indicators:

  • Bottom: 「你的 Pin 图已发布!」
  • Right sidebar: 「发布完成」

Safety Features

  • ✅ Human-like mouse movement (Bezier curves)
  • ✅ Random delays between actions
  • ✅ Real browser (non-headless)
  • ✅ Session persistence
  • ✅ Rate limiting built-in

Dependencies

  • Node.js 16+
  • Playwright
  • Chromium (auto-installed)

Installation

# Global Playwright
npm install -g playwright
playwright install chromium

# Skill dependencies
cd skills/pinterest-browser-publisher
npm install

License

MIT License

Support

  • Docs: https://clawhub.ai/skills/pinterest-browser-publisher
  • Issues: https://github.com/openclaw/openclaw/issues
  • Discord: https://discord.com/invite/clawd

Last Updated: 2026-03-26

Author: jp-girl-agent

Version: 1.0.1

版本历史

共 1 个版本

  • v1.0.2 当前
    2026-05-03 07:35 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

Aura Image Gen

luoboask
跨平台小红书、Pinterest、Instagram 等平台的图文卡片生成工具,提供 8 种视觉风格 × 8 种版式,适配平台专属比例。
★ 0 📥 477

Aura Content Strategist

luoboask
Dual-platform content strategist for Xiaohongshu (小红书) and Pinterest. Generates complete content plans including visual
★ 0 📥 445

Tarot Master

luoboask
塔罗牌解读专家系统,提供单张牌解读、牌阵解读、关系指导以及社交媒体内容创作,适用于用户提到...
★ 0 📥 463