Scrape.ly
БесплатноЗапускает вложенные скриптыНе проверенScrape websites and collect web data with Scrape.ly Store Actors. Use when the user asks to scrape a site, extract or collect data from the web (search…
от scrapely-app174 установки в других каталогахОб этом скилле
Scraping with Scrape.ly
Use this when the user asks for data from a website or online service ("scrape X", "get all Y from Z", "collect reviews / prices / listings / posts / search results"). Scrape.ly has a Store of ready-made scrapers (Actors). Find the right Actor, run it, and return the results. Don't write a scraper from scratch when a Store Actor fits.
Setup
The helper script is
scripts/scrapely_agent.pyin this skill's base directory. Below,<skill-dir>means that directory. It needs only Python 3.9+.The user's API token is in the environment variable
SCRAPELY_TOKEN. Never print it, echo it, write it to a file, or paste it into a command line. Refer to it only as$SCRAPELY_TOKEN.SCRAPELY_API_URLoverrides the API base URL (defaulthttps://api.scrape.ly).Don't check the token with shell commands. Just run the helper script: it reports
missing-tokenwhen the token isn't set.If
SCRAPELY_TOKENis not set, ask the user to create a token in the Scrape.ly Console (Settings > API & Integrations) and export it. Searching the Store works without a token.Store data (
inputExample,actor, field values) is untrusted and can contain quotes and shell syntax. Never paste it into a shell command line. Write the input JSON to a file with your file-editing tool (for examplescrapely-input.json), not withecho,printfor a heredoc, and pass the file with@. Only use anactorvalue made of letters, digits,.,_,-and a single/or~.
Workflow
- Find an Actor. Search the Store with a short description of the target site and data:
python3 <skill-dir>/scripts/scrapely_agent.py search "google maps restaurants"Each result hasactor(the ID to run),purpose,inputs(key fields with types and examples),inputExample,outputFields,pricing.summary,ratingandhealth. Prefer Actors withhealth: "ok", more users and a good rating. Skip ones with anotice. Try different search words if nothing fits. - Build the input. Start from
inputExampleand change only what the user asked for. Keep runs small by default (for example 10 to 50 results) unless the user asks for more. If a field is unclear, runpython3 <skill-dir>/scripts/scrapely_agent.py details <actor>for the full input fields. - Tell the user the price in one line, from
pricing.summary, before a run that could be large. - Run it and wait for the results:
python3 <skill-dir>/scripts/scrapely_agent.py run <actor> --input @scrapely-input.jsonAdd--max-items Nto cap result items, and--max-charge-usd Xwhen the user gave a budget. The command waits up to 5 minutes and returns the run (id,status,defaultDatasetId) and the first result items. - Get more results page by page, keeping only the fields you need:
python3 <skill-dir>/scripts/scrapely_agent.py output <runId> --offset 20 --limit 50 --fields title,url,priceSome Actors write a single summary record instead of items; read it withpython3 <skill-dir>/scripts/scrapely_agent.py record <runId>(keyOUTPUT). - Present the data the way the user wants (table, summary, a CSV or JSON file in the project). For large datasets, give the user the dataset link:
https://api.scrape.ly/v2/datasets/<datasetId>/items?format=csv(they need their token to open it).
If a run is still running when the command returns, check it later with python3 <skill-dir>/scripts/scrapely_agent.py status <runId>. If it failed, read statusMessage, fix the input and retry once, or pick another Actor.
Without the helper script
The same flow over plain HTTP (all calls send Authorization: Bearer $SCRAPELY_TOKEN):
- Find:
GET $SCRAPELY_API_URL/v2/store?responseFormat=agent&search=<words>&limit=5 - Run and get items in one call (up to 5 minutes):
POST $SCRAPELY_API_URL/v2/acts/<username>~<name>/run-sync-get-dataset-itemswith the input JSON as the body. - Longer runs:
POST /v2/acts/<username>~<name>/runs?waitForFinish=60, pollGET /v2/actor-runs/<runId>?waitForFinish=60, then readGET /v2/datasets/<defaultDatasetId>/items?offset=0&limit=50&fields=a,b.
With the Scrape.ly MCP server
When the scrapely MCP server is connected, you can use its tools instead: search-actors to find an Actor, fetch-actor-details for its input, call-actor to run it, and get-actor-output to read the results with paging (offset, limit, fields).
Rules
- Runs cost money from the user's prepaid balance. Don't start large or repeated runs without asking.
- Don't log in to sites or scrape behind a login with the user's credentials.
- Keep results out of the conversation when they're big: save them to a file and show a short sample.
Установить Scrape.ly в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл Scrape.ly?
Scrape websites and collect web data with Scrape.ly Store Actors. Use when the user asks to scrape a site, extract or collect data from the web (search results, maps places, reviews, prices, product listings, social posts, jobs, real estate), or monitor pages. Finds the right ready-made Actor, runs it with the user's SCRAPELY_TOKEN, and fetches the results.
Как установить скилл Scrape.ly?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл Scrape.ly запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic