Skip to content

Scrape web pages or recursive sites into local HTML or Markdown archives with downloaded images.

CCM score
45 of 100
skills.sh installs
233
GitHub stars
51
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers single-page saves and recursive crawls that follow links within a starting domain
  • Includes scripts/scrape.py with flags for --format, --recursive, --max-depth, --max-pages, and --rate-limit
  • Enforces robots.txt compliance by default, a 0.5-second rate limit, and same-domain filtering
  • Designed for archiving pages offline using only requests and beautifulsoup4, with no browser automation

Install

$ npx -y skills add agentbay-ai/agentbay-skills --skill web-scraper -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Web Scraper

Fetch web page content (text + images) and save as HTML or Markdown locally.

Minimal dependencies: Only requires requests and beautifulsoup4 - no browser automation.

Default behavior: Downloads images to local images/ directory automatically.

Quick start

Single page

{baseDir}/scripts/scrape.py --url "https://example.com" --format html --output /tmp/page.html
{baseDir}/scripts/scrape.py --url "https://example.com" --format md --output /tmp/page.md

Recursive (follow links)

{baseDir}/scripts/scrape.py --url "https://docs.example.com" --format md --recursive --max-depth 2 --output ~/Downloads/docs-archive

Setup

Requires Python 3.8+ and minimal dependencies:

cd {baseDir}
pip install -r requirements.txt

Or install manually:

pip install requests beautifulsoup4

Note: No browser or driver needed - uses pure HTTP requests.

Inputs to collect

Single page mode

  • URL: The web page to scrape (required)
  • Format: html or md (default: html)

Details

Repository
github.com/agentbay-ai/agentbay-skills
Category
Browser Automation & Scraping
First seen
Jun 3, 2026

Questions

What does the web-scraper skill do?

The web-scraper skill fetches web page content, both text and images, and saves it locally as HTML or Markdown. It can also follow links recursively to archive a whole site, with depth and page limits set by the user.

Who should use the web-scraper skill?

The web-scraper skill suits anyone who has a URL and wants to download or archive its content locally. It uses plain HTTP requests rather than browser automation, so it works without a browser or driver.

What does the web-scraper skill need to run?

The web-scraper skill requires Python 3.8 or newer plus the requests and beautifulsoup4 packages, which install with pip. It needs no API keys or environment variables.

How do I install the web-scraper skill?

Run npx -y skills add agentbay-ai/agentbay-skills --skill web-scraper -y in your project. Once installed, web-scraper lets the agent save a page as HTML or Markdown, downloading its images into a local images folder.

Where does web-scraper stand in the Browser Automation & Scraping category?

Among Browser Automation & Scraping skills, web-scraper sits alongside agent-browser, playwright-cli, anti-detect-browser and browser-act. Unlike those, web-scraper uses only plain HTTP requests and needs no browser at all.

More from agentbay-ai/agentbay-skills

All 6