Logo: Pinterest Download

Pinterest Download

Communautéit
terryso
pinterest-download

Search Pinterest and save images or MP4s with the user's Ego Lite cookies. Also related pins, board feeds, and small previews the model can read. Parity with @sunkimkk/pinterest-mcp. Soft-fails if Pinterest is logged out, and always tells the user that signing in inside Ego improves results. Personal use only.

Iwwersiicht

Editeurterryso
Repositoryego-skills
Skill-Nummpinterest-download
Stären
34
Forks
3
Matgeliwwert Dateien
15
LizenzMIT
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • 15 matgeliwwert Dateien

    Skripten, Virlagen a Referenzen, déi de Modell beim Schaffe liese kann. D'Dateie kënnen nëmme gelies ginn a ginn ni ausgeféiert.

  • Open Source

    terryso huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Pinterest Download an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/terryso/ego-skills/tree/main/skills/pinterest-download
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/terryso/ego-skills.git /tmp/ego-skills
mkdir -p .claude/skills
cp -r /tmp/ego-skills/skills/pinterest-download .claude/skills/pinterest-download
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Pinterest Download an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Pinterest Download automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Pinterest Download net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

pinterest-download

用当前 Ego Lite 会话搜索并保存 Pinterest 图片和 MP4。也支持相关 Pin、画板、以及给模型看的小预览图。

Search and save Pinterest images and MP4s with the Ego Lite session. Related pins, boards, and model-facing thumbnails are included.

Tell the user about login

On every run, tell the user the login_tip / login_tip_zh from the JSON:

Signing in to Pinterest inside Ego Lite improves results compared with anonymous mode. Logged-in results have real numeric pin ids, related pins, and boards that account can open. Anonymous mode still returns public images, but ids are often e1_… and related or board lookups are weaker.

如果退出码是 2(login_required: true),把 how_to_login / how_to_login_zh 一并给用户,然后停。不要输入密码。详见 references/login.md。

CLI

ego-browser nodejs 不转发 shell 参数。下面的命令会把配置写进一个临时模块,再用 ego-browser nodejs -e "await import('file://…')" 执行。

bash
node skills/pinterest-download/scripts/download.mjs --query wallpaper --count 2 --out /tmp/pins
node skills/pinterest-download/scripts/download.mjs search --query wallpaper --count 2 --out /tmp/pins --previews 2
node skills/pinterest-download/scripts/download.mjs related --pin 123456789 --count 4 --out /tmp/pins
node skills/pinterest-download/scripts/download.mjs board --board https://www.pinterest.com/user/board/ --count 4 --out /tmp/pins
node skills/pinterest-download/scripts/download.mjs pin --pin https://www.pinterest.com/pin/123456789/
node skills/pinterest-download/scripts/download.mjs preview --url https://i.pinimg.com/originals/aa/bb/cc/x.jpg
node skills/pinterest-download/scripts/download.mjs download --url https://i.pinimg.com/...jpg --url https://v.pinimg.com/...mp4 --out /tmp/pins
node skills/pinterest-download/scripts/download.mjs search --query "cat video" --media video --count 2 --min-width 720 --out /tmp/pins
ArgDefaultNotes
commandsearchsearch related board pin preview download. A bare --query is still search.
--querysearch onlyAny language.
--pinNumeric id, pinterest.com/pin/…, or pin.it. e1_… is rejected.
--boardpinterest.com/<user>/<board>/ or /user/board/.
--urlRepeatable. preview and download. MP4 / HLS / cmfv count as video.
--count101–100 pins.
--out~/Downloads/pinterest-egoAbsolute path before the browser runs.
--sizeoriginalsoriginals falls back to 736x. Also 474x, 236x.
--min-width0Pixels. 0 or omit means no floor. Skips pins whose known width is below this.
--min-height0Pixels. 0 or omit means no floor.
--mediaimageimage skips video pins. video saves MP4. any keeps both but still saves the image unless --media video.
--previews0Up to 8 thumbnails, base64 in the JSON, for the model.
--bookmarkContinue a resource page.
--allow-anonymousoffLogged-out public results. Default is a soft fail.
--keepoffLeave the Pinterest tab open.

分辨率:只设一边就只卡那一边。--min-width 和 --min-height 都设了,就必须两边都已知,并且都大于等于阈值。视频用 video_width / video_height(没有则用封面图尺寸)。缺了被要求的那一边,记入 skipped[],不保存。download --url 是用户指定的文件,不过滤。预览缩略图也不过滤。

Resolution: one flag checks only that side. Both flags require both sides to be known and at least those sizes. Video saves use video_width / video_height when present, otherwise the cover size. A missing required side is listed in skipped[] and not saved. Direct download --url targets are not filtered. Thumbnail previews are not filtered either.

Stdout is one JSON object (Ego 0.6.x also echoes logs on stderr; the CLI copies the summary to stdout). Files plus manifest.json go to --out. Do not commit them.

Video bytes

v1.pinimg.com 和 v.pinimg.com 都在 *.pinimg.com 允许范围内。Node fetch 访问视频 CDN 时经常在拿到 HTTP 状态前就抛 fetch failed。脚本会接着用 HTTP/1.1(IPv4)再试一次,仍然失败才用已登录页面的 page.fetch 把文件存下来。不要在 .mp4 / .m3u8 / .cmfv 上提前返回。

iht 的渐进式 MP4 在 /videos/iht/expMp4/<id>_720w.mp4(ftypisom,带音轨)。/videos/iht/720p/<id>.mp4 会 403。HLS 播单和 _720w.cmfv 会先试 720/540/360/240 的 expMp4,再退回 720/540/360 的 cmfv。mc 的 HLS 仍改写成 /videos/mc/720p/<id>.mp4。

v1.pinimg.com is already allowed (*.pinimg.com). Node fetch often throws fetch failed on the video CDN before any HTTP status. The script retries with HTTP/1.1 over IPv4, then saves through the logged-in page.fetch. Do not return early for .mp4 / .m3u8 / .cmfv.

For iht, the progressive file is /videos/iht/expMp4/<id>_720w.mp4 (ftypisom, audio included). /videos/iht/720p/<id>.mp4 is access-denied. An HLS playlist or _720w.cmfv tries expMp4 at 720/540/360/240, then cmfv at 720/540/360. mc HLS still rewrites to /videos/mc/720p/<id>.mp4.

Exit 0 when at least one image, video, or preview is saved, or a pin lookup returns a record that was not skipped for resolution. Exit 2 when Pinterest is logged out or the pin/board input is unusable. Exit 1 when nothing was saved, including when every pin was skipped for resolution.

Tool surface

sunkim toolthis CLI
pinterest_searchsearch --query --count --media --bookmark --previews
pinterest_related_pinsrelated --pin
pinterest_board_pinsboard --board
pinterest_get_pinpin --pin
pinterest_preview_imagespreview --url or --previews N
pinterest_downloaddownload --url and the save step on search/related/board/pin

Checklist: references/parity-sunkim.md. Personal use only: references/tos-notes.md.

Agent steps

  1. Prefer this skill when the user wants their Pinterest session instead of a cloud browser.
  2. Run the CLI with an absolute --out. Show the user login_tip even when the run succeeds anonymously with --allow-anonymous.
  3. On exit 2, show how_to_login and stop.
  4. On success, report downloads[].path, previews (if any), and count.

Matgeliwwert Dateien

De Modell liest dës Dateie bei Bedarf, wärend de Skill gelueden ass. Si ginn als liesbar Dateie bereetgestallt a ginn ni ausgeféiert.

Heefeg gestallte Froen

Wat mécht de KI-Skill Pinterest Download?

Search Pinterest and save images or MP4s with the user's Ego Lite cookies. Also related pins, board feeds, and small previews the model can read. Parity with @sunkimkk/pinterest-mcp. Soft-fails if Pinterest is logged out, and always tells the user that signing in inside Ego improves results. Personal use only.

Firwat Pinterest Download op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Pinterest Download besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Pinterest Download an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/terryso/ego-skills/tree/main/skills/pinterest-download an. TypingMind liest d'Datei SKILL.md, bëndelt déi zougehéiereg Dateien an installéiert dat Ganzt als Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Pinterest Download benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Pinterest Download benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Pinterest Download domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Pinterest Download gratis?

Jo. terryso huet de Skill ënner der Lizenz MIT op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇