Community程式設計與開發github.com

nehakanjamala/personal_website

通用 AI 驅動網頁爬蟲,支援 Instagram、Facebook、TikTok、YouTube、LinkedIn、X/Twitter、Google Maps、Google 搜尋、Google Trends、Reddit、Airbnb、Yelp 等 15 個以上平台,可用於潛在客戶開發、品牌監控、競爭者分析、網紅挖掘、趨勢研究等各種資料擷取任務。

personal_website 是什麼?

這是一個功能強大的 AI 驅動通用網頁爬蟲技能,專為開發者與 AI 代理設計。它透過 Apify CLI 從超過 15 個平台(包括 Instagram、Facebook、TikTok、YouTube、LinkedIn、Twitter/X、Google Maps、Google Search、Google Trends、Reddit、Airbnb、Yelp 等)的約 100 個 Actor(爬蟲工具)進行資料提取。此技能支援的用途極為廣泛,涵蓋潛在客戶開發、品牌監控、競爭者分析、網紅挖掘、趨勢研究、內容分析、受眾分析、評論分析、SEO 情報、招募以及任何資料提取任務。其主要工作流程分為四個步驟:首先根據目標平台和用例從 `references/actor-index.md` 選擇合適的 Actor,若無匹配則可動態搜尋;第二步透過 `apify actors info` 命令取得 Actor 的輸入架構與注意事項;第三步配置輸入並以阻塞或非阻塞方式執行爬蟲,並從對應的資料集中取得結果;最後以結構化方式交付結果,包含資料集與執行記錄的連結。此技能明確規範所有 Apify CLI 命令必須加上 `--json` 參數以取得可解析的輸出、指定 `--user-agent apify-agent-skills/apify-ultimate-scraper` 用於歸因,並將 stderr 重新導向至 `/dev/null` 以避免進度訊息干擾 JSON 解析。其參考文件更針對 14 種常見工作流程(例如潛在客戶開發、競爭情報、品牌監控、內容與 SEO 等)提供了專屬指南,使用者可進一步閱讀 `references/workflows/` 下的文件以實現多步驟自動化。

相容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/nehakanjamala/personal_website/tree/HEAD/.agents/skills/apify-ultimate-scraper

Installed? Explore more 程式設計與開發 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

通用網頁爬蟲

透過 Apify CLI 從約 100 個 Actor 與超過 15 個平台進行 AI 驅動的資料提取。

每個 apify 命令的規則:

  1. 使用 --json 參數以取得機器可讀的輸出(跨 CLI 版本穩定)。
  2. 使用 --user-agent apify-agent-skills/apify-ultimate-scraper 進行歸因統計。
  3. 將標準錯誤重新導向至 2>/dev/null(標準錯誤包含會破壞 JSON 解析器的進度訊息)。

先決條件

  • Apify CLI v1.5.0 以上(npm install -g apify-cli)
  • 已驗證的會話(請參閱下方說明)

驗證

如果 CLI 命令因驗證錯誤而失敗,請使用以下其中一種方法進行驗證:

  1. OAuth(互動式): apify login(會開啟瀏覽器)
  2. 環境變數: export APIFY_TOKEN=your_token_here
  3. 從 .env 檔案: source .env(如果檔案包含 APIFY_TOKEN=...)

產生 Token:https://console.apify.com/settings/integrations

工作流程

步驟 1:了解目標並選擇 Actor

識別目標平台與使用案例。閱讀 references/actor-index.md 以找到合適的 Actor。

如果任務涉及多步驟流程,也請閱讀對應的工作流程指南:

任務涉及...請閱讀
潛在客戶、聯絡人、電子郵件、B2Breferences/workflows/lead-generation.md
競爭者、廣告、定價references/workflows/competitive-intel.md
網紅、創作者references/workflows/influencer-vetting.md
品牌、提及、情感references/workflows/brand-monitoring.md
評論、評分、聲譽references/workflows/review-analysis.md
SEO、SERP、爬取、內容、RAGreferences/workflows/content-and-seo.md
分析、互動、表現references/workflows/social-media-analytics.md
趨勢、關鍵字、主題標籤references/workflows/trend-research.md
工作、招募、候選人references/workflows/job-market-and-recruitment.md
房地產、房源、飯店references/workflows/real-estate-and-hospitality.md
價格監控、電子商務、產品references/workflows/ecommerce-price-monitoring.md
聯絡人豐富化、電子郵件提取references/workflows/contact-enrichment.md
知識庫、RAG、LLM 資料饋送references/workflows/knowledge-base-and-rag.md
公司研究、盡職調查references/workflows/company-research.md

如果在索引中找不到任何 Actor 匹配,請動態搜尋:

apify actors search "關鍵字" --user-agent apify-agent-skills/apify-ultimate-scraper --json --limit 10 2>/dev/null

從結果中取得:items[].username/items[].name(Actor ID)、items[].title、items[].stats.totalUsers30Days、items[].currentPricingInfo.pricingModel。

步驟 2:取得 Actor 架構並檢查常見陷阱

動態取得輸入架構:

apify actors info "ACTOR_ID" --user-agent apify-agent-skills/apify-ultimate-scraper --input --json 2>/dev/null

同時閱讀 references/gotchas.md 以檢查所選 Actor 的常見陷阱。

如需 Actor 文件:apify actors info "ACTOR_ID" --user-agent apify-agent-skills/apify-ultimate-scraper --readme

步驟 3:配置並執行

對於簡單查詢(例如「Nike 的追蹤人數」)跳過使用者偏好設定。直接以快速回答模式執行。

對於較大任務,請確認輸出格式(快速回答 / CSV / JSON)與結果數量。

標準執行(阻塞):

apify actors call "ACTOR_ID" --input-file input.json --user-agent apify-agent-skills/apify-ultimate-scraper --json 2>/dev/null

對於大型或複雜的輸入,建議使用 --input-file input.json。對於極小的輸入,可接受內嵌 JSON,並使用 shell 引號:--input '{"maxItems":10}'。

從輸出中取得:.id(執行 ID)、.status、.defaultDatasetId、.stats.durationMillis

取得結果:

apify datasets get-items DATASET_ID --user-agent apify-agent-skills/apify-ultimate-scraper --format json

如需 CSV:apify datasets get-items DATASET_ID --user-agent apify-agent-skills/apify-ultimate-scraper --format csv

快速回答模式: 將結果取得為 JSON,選取前 5 筆,在聊天中格式化呈現。

儲存至檔案: 取得結果,使用寫入工具儲存為 YYYY-MM-DD_描述性名稱.csv 或 .json。

大型/長時間執行的爬蟲:

apify actors start "ACTOR_ID" --input-file input.json --user-agent apify-agent-skills/apify-ultimate-scraper --json 2>/dev/null

輪詢:apify runs info RUN_ID --user-agent apify-agent-skills/apify-ultimate-scraper --json 2>/dev/null(檢查 .status 是否為 SUCCEEDED)。

步驟 4:交付結果

報告:結果數量、檔案位置(如果已儲存)、關鍵資料欄位以及連結:

  • 資料集:https://console.apify.com/storage/datasets/DATASET_ID
  • 執行:https://console.apify.com/actors/runs/RUN_ID

對於多步驟工作流程:根據工作流程指南建議下一步的流程。

疑難排解

常見錯誤與陷阱記錄在 references/gotchas.md 中。在執行 PPE(每次事件付費)Actor 之前,請先閱讀該文件。

Individual skills in this repo

This repo contains 13 individual skills — each has its own dedicated page.

nehakanjamala/personal_website

This skill should be used when the user asks to "fix janky CSS animation", "make animation 60fps", "stop layout thrashing", "animate width/height/top/left smoothly", "convert animation to transform", "animate box-shadow performantly", "animate height auto", "FLIP animation", or "why is my scroll/hover animation choppy".

nehakanjamala/personal_website

This skill should be used when the user asks to "respect prefers-reduced-motion", "honor reduced motion", "make my animations accessible", "fix vestibular / motion-sickness issues", "add a useReducedMotion hook", "gate GSAP / Framer Motion / Lenis for reduced motion", or "meet WCAG 2.3.3 / C39". Provides tiered (not all-or-nothing) reduced-motion patterns in CSS and JS.

nehakanjamala/personal_website

Create, modify, debug, and deploy Apify Actors, and write their input and output schemas. Use when building an Actor from scratch, changing or troubleshooting Actor code, generating or updating .actor schema files, or pushing an Actor to the Apify platform. To wrap an existing non-Actor project, use apify-actorization instead.

nehakanjamala/personal_website

Convert existing projects into Apify Actors - serverless cloud programs. Actorize JavaScript/TypeScript (SDK with Actor.init/exit), Python (async context manager), or any language (CLI wrapper). Use when migrating code to Apify, wrapping CLI tools as Actors, or adding Actor SDK to existing projects.

nehakanjamala/personal_website

Deprecated. Output schema generation moved to the apify-actor-development skill; prefer that skill whenever it is available.

nehakanjamala/personal_website

Design and build an official Apify integration for a company's product - workflow-automation apps (Zapier/n8n-style), AI agent plugins (coding-agent skills+MCP bundles or OpenClaw/Hermes-style harnesses), AI framework packages (LangChain/LlamaIndex-style), or direct application clients via apify-client. Use when planning, creating, or reviewing an integration that exposes Apify Actors, runs, datasets, or key-value stores inside another product.

nehakanjamala/personal_website

This skill should be used when the user asks to "add a glassmorphism effect", "frosted glass UI", "Apple liquid glass style", "frosted blur card", "translucent glass panel animation", "make a frosted nav bar", "build a glass modal/dialog", "animate a glass card on hover", or "add a refracting liquid-glass hero". Covers frosted translucent panels with backdrop-filter blur, edge/specular highlights, SVG liquid-glass refraction, motion on hover/scroll/enter, and accessible reduced-transparency fallbacks.

nehakanjamala/personal_website

This skill should be used when the user asks to "build a scroll animation", "add ScrollTrigger", "pin a section while scrolling", "scrub an animation to scroll", "create a hero timeline", "do a horizontal scroll section", "split text and animate words", "animate a layout change with GSAP Flip", "sync ScrollTrigger with Lenis", "Lenis smooth scroll jittery", "ScrollTrigger markers drift", "ScrollTrigger pins break with Lenis/Locomotive", or "set up smooth scroll with GSAP pinning". Covers GSAP timelines, ScrollTrigger, SplitText, Flip, and Lenis/Locomotive smooth-scroll sync for code-driven web motion.

nehakanjamala/personal_website

This skill should be used when the user asks to "add a Lottie animation", "play a .lottie or .json animation", "integrate a Bodymovin/After Effects animation on web or mobile", "control Lottie playback / segments", "make a scroll-driven Lottie", "recolor a Lottie at runtime", or "export an AE animation to Lottie". Covers dotLottie/lottie-web integration, playback control, interactivity, theming, and the AE export checklist.

nehakanjamala/personal_website

This skill should be used when the user asks to "add a hover/press effect", "animate a toggle or switch", "build an animated like button", "make a toast/snackbar slide in", "animate a drawer or modal", "animate list reordering or add/remove", "do a shared-element layout transition", or "polish UI feedback". Covers UI motion with Framer Motion (motion/react) and modern CSS.

nehakanjamala/personal_website

This skill should be used when the user asks to "animate page or route transitions", "add a page transition or crossfade between views", "animate route changes in Next.js App Router", "use the View Transitions API", "AnimatePresence exit doesn't fire on navigation", or "Framer Motion exit animation not working / exit animation before unmount in Next.js". Covers enter/exit page-transition animation with the View Transitions API and Framer Motion, for Next.js App Router and general SPA routing.

nehakanjamala/personal_website

Scrape web pages using Scrapling with anti-bot bypass (like Cloudflare Turnstile), stealth headless browsing, spiders framework, adaptive scraping, and JavaScript rendering. Use when asked to scrape, crawl, or extract data from websites; web_fetch fails; the site has anti-bot protections; write Python code to scrape/crawl; or write spiders.

nehakanjamala/personal_website

This skill should be used when the user asks to "animate an SVG", "make a line draw itself on", "do a stroke draw-on / signature animation", "morph one shape into another", "move an element along a path", "animate an icon/logo", or "animate an SVG gradient or filter". Covers stroke-dashoffset draw-on, path morphing, motion-along-path, and animated icons/gradients/filters via CSS, SMIL, and GSAP.

相關技能