Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
scrapegoat
command
|
|
|
examples
|
|
|
aicrawl
command
AI Web Crawler — crawls sites and uses LLM to summarize, extract entities, and analyze sentiment Requires Ollama running locally: ollama serve && ollama pull llama3.2
|
AI Web Crawler — crawls sites and uses LLM to summarize, extract entities, and analyze sentiment Requires Ollama running locally: ollama serve && ollama pull llama3.2 |
|
ecommerce
command
E-Commerce Product Scraper — scrapes books.toscrape.com Extracts: title, price, rating, availability, description, image
|
E-Commerce Product Scraper — scrapes books.toscrape.com Extracts: title, price, rating, availability, description, image |
|
github
command
GitHub Trending Scraper — scrapes today's trending repos Extracts: repo name, description, language, stars, forks, stars gained today
|
GitHub Trending Scraper — scrapes today's trending repos Extracts: repo name, description, language, stars, forks, stars gained today |
|
hackernews
command
Hacker News Scraper — scrapes front page stories Extracts: rank, title, URL, points, author
|
Hacker News Scraper — scrapes front page stories Extracts: rank, title, URL, points, author |
|
news
command
Multi-Site News Aggregator — crawls multiple news sources Extracts structured data (JSON-LD, OpenGraph, meta) from any news site
|
Multi-Site News Aggregator — crawls multiple news sources Extracts structured data (JSON-LD, OpenGraph, meta) from any news site |
|
product_scraper
command
Product Scraper Example
|
Product Scraper Example |
|
search
command
Search Engine Crawler — indexes pages with full text, metadata, and link graph Produces a search-engine-style index: title, URL, body text, meta, headings, links
|
Search Engine Crawler — indexes pages with full text, metadata, and link graph Produces a search-engine-style index: title, URL, body text, meta, headings, links |
|
spider
command
Example: Using the Spider interface for structured, Scrapy-style crawling.
|
Example: Using the Spider interface for structured, Scrapy-style crawling. |
|
wikipedia
command
Wikipedia Knowledge Extractor — deep crawl with 1000 article limit Extracts: title, summary, categories, reference count, external links
|
Wikipedia Knowledge Extractor — deep crawl with 1000 article limit Extracts: title, summary, categories, reference count, external links |
|
internal
|
|
|
antibot
Package antibot implements an adaptive anti-bot engine with block detection, stealth profiles, and human behaviour simulation.
|
Package antibot implements an adaptive anti-bot engine with block detection, stealth profiles, and human behaviour simulation. |
|
apiserver
Package apiserver implements a REST and WebSocket API server for ScrapeGoat, enabling microservice deployment and programmatic access to crawling, extraction, and job management.
|
Package apiserver implements a REST and WebSocket API server for ScrapeGoat, enabling microservice deployment and programmatic access to crawling, extraction, and job management. |
|
changedetect
Package changedetect implements a content monitoring engine that detects changes on web pages using multiple diffing strategies and notifications.
|
Package changedetect implements a content monitoring engine that detects changes on web pages using multiple diffing strategies and notifications. |
|
crawlgraph
Package crawlgraph implements a directed graph of URLs discovered during crawling, with support for SQLite persistence, multiple export formats, and replay strategies for re-crawling changed or failed pages.
|
Package crawlgraph implements a directed graph of URLs discovered during crawling, with support for SQLite persistence, multiple export formats, and replay strategies for re-crawling changed or failed pages. |
|
fetcher/fingerprint
Package fingerprint makes ScrapeGoat's TLS handshake and HTTP headers look like the browser it claims to be.
|
Package fingerprint makes ScrapeGoat's TLS handshake and HTTP headers look like the browser it claims to be. |
|
llmextract
Package llmextract provides a schema-driven LLM extraction pipeline that uses large language models to extract structured data from HTML content.
|
Package llmextract provides a schema-driven LLM extraction pipeline that uses large language models to extract structured data from HTML content. |
|
mcp
Package mcp implements a Model Context Protocol (MCP) server that exposes ScrapeGoat's crawling, extraction, and SEO tools to AI agents such as Claude, GPT-4, Cursor, and Cline via JSON-RPC 2.0 over stdio or HTTP/SSE.
|
Package mcp implements a Model Context Protocol (MCP) server that exposes ScrapeGoat's crawling, extraction, and SEO tools to AI agents such as Claude, GPT-4, Cursor, and Cline via JSON-RPC 2.0 over stdio or HTTP/SSE. |
|
observability
Package observability exposes ScrapeGoat's operational metrics.
|
Package observability exposes ScrapeGoat's operational metrics. |
|
plugin/sdk
Package plugin/sdk provides helper types and functions for building ScrapeGoat plugins using the init() registration pattern.
|
Package plugin/sdk provides helper types and functions for building ScrapeGoat plugins using the init() registration pattern. |
|
safety
Package safety enforces the network trust boundary for every outbound fetch.
|
Package safety enforces the network trust boundary for every outbound fetch. |
|
testutil
Package testutil holds helpers shared across ScrapeGoat's test packages.
|
Package testutil holds helpers shared across ScrapeGoat's test packages. |
|
transforms
Package transforms extends the pipeline with schema validation, data transformation, and enrichment middlewares.
|
Package transforms extends the pipeline with schema validation, data transformation, and enrichment middlewares. |
|
pkg
|
|
|
scrapegoat
Package scrapegoat provides a public SDK for embedding ScrapeGoat as a library.
|
Package scrapegoat provides a public SDK for embedding ScrapeGoat as a library. |
|
tests
|
|
|
harness
Package harness provides adversarial HTTP test servers for stress-testing ScrapeGoat.
|
Package harness provides adversarial HTTP test servers for stress-testing ScrapeGoat. |
Click to show internal directories.
Click to hide internal directories.