Перейти к содержанию
Skillpedia
Веб-скрапинг77k · #1803

Apify Automation

Что он делает

Этот инструмент позволяет автоматизировать сбор информации из интернета с помощью Apify. Вы можете запускать «роботов» (их называют Actor), которые просматривают сайты и извлекают данные, например списки товаров или новостные статьи.

Когда использовать

  • ✓Когда нужно собрать большой объем данных с конкретного сайта.
  • ✓Чтобы получать актуальную информацию с сайтов, которые часто меняются.
  • ✓Чтобы систематизировать и сохранить данные сразу с нескольких веб-страниц.

Ссылка на скилл

https://github.com/ComposioHQ/awesome-claude-skills/blob/master/composio-skills/apify-automation/SKILL.md

Скопируйте и вставьте её в ваш ИИ (Claude, ChatGPT или Cursor) с просьбой следовать инструкциям.

Как использовать

Самый простой способ: скопируйте сообщение и вставьте его в свой ИИ. Он прочитает скилл и выполнит инструкции.

Готовое сообщение для вставки

Используй этот скилл, чтобы помочь мне: https://github.com/ComposioHQ/awesome-claude-skills/blob/master/composio-skills/apify-automation/SKILL.md Прочитай файл SKILL.md по этой ссылке и следуй его инструкциям в моей задаче.
Хотите, чтобы ваш ИИ сам находил такие скиллы?Установите бесплатный MCP Skillpedia: одна строка, и перед каждой задачей он ищет среди 15 000+ скиллов.Установить за 1 минуту →

Пример запроса к вашему ИИ

“Запусти робота, который собирает информацию о ресторанах в Нью-Йорке, и покажи первые 50 результатов.”

5 новых скиллов в неделю. 1 минута чтения.

Как это работает

Вы указываете, какого «робота» (Actor) использовать и какую информацию он должен искать. Инструмент запускает его и возвращает данные вам в удобном, структурированном виде.

Технический текст (оригинальный SKILL.md)

Оригинальный текст автора на английском, прямо с GitHub.

Apify Automation

Run Apify web scraping Actors and manage datasets directly from Claude Code. Execute crawlers synchronously or asynchronously, retrieve structured data, create reusable tasks, and inspect run logs without leaving your terminal.

Toolkit docs: composio.dev/toolkits/apify


Setup

  1. Add the Composio MCP server to your configuration:
    https://rube.app/mcp
    
  2. Connect your Apify account when prompted. The agent will provide an authentication link.
  3. Browse available Actors at apify.com/store. Each Actor has its own unique input schema -- always check the Actor's documentation before running.

Core Workflows

1. Run an Actor Synchronously and Get Results

Execute an Actor and immediately retrieve its dataset items in a single call. Best for quick scraping jobs.

Tool: APIFY_RUN_ACTOR_SYNC_GET_DATASET_ITEMS

Key parameters:

  • actorId (required) -- Actor ID in format username/actor-name (e.g., compass/crawler-google-places)
  • input -- JSON input object matching the Actor's schema. Each Actor has unique field names -- check apify.com/store for the exact schema.
  • limit -- max items to return
  • offset -- skip items for pagination
  • format -- json (default), csv, jsonl, html, xlsx, xml
  • timeout -- run timeout in seconds
  • waitForFinish -- max wait time (0-300 seconds)
  • fields -- comma-separated list of fields to include
  • omit -- comma-separated list of fields to exclude

Example prompt: "Run the Google Places scraper for 'restaurants in New York' and return the first 50 results"


2. Run an Actor Asynchronously

Trigger an Actor run without waiting for completion. Use for long-running scraping jobs.

Tool: APIFY_RUN_ACTOR

Key parameters:

  • actorId (required) -- Actor slug or ID
  • body -- JSON input object for the Actor
  • memory -- memory limit in MB (must be power of 2, minimum 128)
  • timeout -- run timeout in seconds
  • maxItems -- cap on returned items
  • build -- specific build tag (e.g., latest, beta)

Follow up with APIFY_GET_DATASET_ITEMS to retrieve results using the run's datasetId.

Example prompt: "Start the web scraper Actor for example.com asynchronously with 1024MB memory"


3. Retrieve Dataset Items

Fetch data from a specific dataset with pagination, field selection, and filtering.

Tool: APIFY_GET_DATASET_ITEMS

Key parameters:

  • datasetId (required) -- dataset identifier
  • limit (default/max 1000) -- items per page
  • offset (default 0) -- pagination offset
  • format -- json (recommended), csv, xlsx
  • fields -- include only specific fields
  • omit -- exclude specific fields
  • clean -- remove Apify-specific metadata
  • desc -- reverse order (newest first)

Example prompt: "Get the first 500 items from dataset myDatasetId in JSON format"


4. Inspect Actor Details

View Actor metadata, input schema, and configuration before running it.

Tool: APIFY_GET_ACTOR

Key parameters:

  • actorId (required) -- Actor ID in format username/actor-name or hex ID

Example prompt: "Show me the details and input schema for the apify/web-scraper Actor"


5. Create Reusable Tasks

Configure reusable Actor tasks with preset inputs for recurring scraping jobs.

Tool: APIFY_CREATE_TASK

Configure a task once, then trigger it repeatedly with consistent input parameters. Useful for scheduled or recurring data collection workflows.

Example prompt: "Create an Apify task for the Google Search scraper with default query 'AI startups' and US location"


6. Manage Runs and Datasets

List Actor runs, browse datasets, and inspect run details for monitoring and debugging.

Tools: APIFY_GET_LIST_OF_RUNS, APIFY_DATASETS_GET, APIFY_DATASET_GET, APIFY_GET_LOG

For listing runs:

  • Filter by Actor and optionally by status
  • Get datasetId from run details for data retrieval

For dataset management:

  • APIFY_DATASETS_GET -- list all your datasets with pagination
  • APIFY_DATASET_GET -- get metadata for a specific dataset

For debugging:

  • APIFY_GET_LOG -- retrieve execution logs for a run or build

Example prompt: "List the last 10 runs for the web scraper Actor and show logs for the most recent one"


Known Pitfalls

…

Частые вопросы

Что такое Actor?

Actor это готовые программы на платформе Apify, которые умеют просматривать сайты и извлекать определенную информацию. Их можно представить как специализированных роботов для сбора данных.

Как узнать, какие данные может собрать Actor?

У каждого Actor есть описание и «входная схема» (input schema), в которой указано, какая информация нужна для запуска и какие данные он может предоставить. Посмотреть это можно на сайте Apify.

Можно ли собрать данные с любого сайта?

С многих сайтов можно, но это зависит от того, есть ли готовый Actor для нужного сайта или можно ли его настроить. Сайты с продвинутой защитой могут оказаться сложнее.

Подробности

Оригинальное описание автора

Automate web scraping and data extraction with Apify -- run Actors, manage datasets, create reusable tasks, and retrieve crawl results through the Composio Apify integration.

repo: ComposioHQ/awesome-claude-skills

Популярность

Звёзды на GitHub
77k
Место в рейтинге
#1803
Лицензия
—
Обновлён
18.09.2026

Полезен ли этот скилл?

0

Войдите , чтобы голосовать.

Комментарии

  • …

Другие скиллы из этого репозитория

Похожие скиллы