New to Claude Skills? Learn how to install them →

browser-act on GitHub

Web Search Scraper API

Free

Effortlessly extract Markdown content from any webpage.

by browser-act5.3k stars on browser-act/skills
2 views
Updated Aug 5, 2026
Get this skill

Free · Opens the source repo

What Web Search Scraper API does

The Web Search Scraper API Skill is designed to facilitate the extraction of structured Markdown content from any specified URL. By leveraging the BrowserAct Web Search Scraper API, users can input a target URL and receive clean, usable Markdown data in return. This skill is particularly useful for developers, content creators, and researchers who need to convert web pages into a more manageable format without the hassle of manual copying and formatting.

This skill addresses common challenges associated with web scraping, such as dealing with reCAPTCHA and IP access restrictions. It operates without the need for human verification, allowing for a seamless extraction process. Additionally, the skill is optimized for speed, offering quicker execution compared to traditional AI-driven browser automation methods. This efficiency not only saves time but also reduces costs associated with data acquisition, making it a cost-effective solution for users.

The Web Search Scraper API Skill is particularly beneficial for those who frequently need to gather information from various web sources. Whether you are extracting content from news articles, blog posts, or documentation pages, this skill streamlines the process, allowing for quick and easy access to the information you need. The output is straightforward, providing users with complete Markdown content ready for use in their projects or research.

In summary, this skill is an essential tool for anyone looking to automate the extraction of web content into Markdown format, ensuring that the process is efficient, reliable, and free from common web scraping obstacles.

When to use it

Use this skill when you need to convert web pages into Markdown format quickly and efficiently.

When not to use it

This skill may not be suitable for extracting content from websites with heavy JavaScript or dynamic content that cannot be rendered as static HTML.

What you can build with it

Extracting News Articles

Quickly scrape the main content from news article links into Markdown format for easy sharing.

Parsing Blog Posts

Effortlessly download and convert blog post content into Markdown for offline reading or documentation.

Documentation Scraping

Fetch and convert tutorial or documentation pages into Markdown for better accessibility and organization.

How to install Web Search Scraper API

View source

1. Install with the skills CLI

npx skills add browser-act/skills/web-search-scraper-api-skill --agent claude-code

2. Or install it manually

Download the skill folder and drop it into ~/.claude/skills/ for all projects, or .claude/skills/ to scope it to one repo. Restart Claude Code so it picks up the new skill.

Anthropic's agentic coding CLI, and the reference implementation of Agent Skills. Drop a skill folder into ~/.claude/skills and Claude Code loads it automatically whenever a task matches the skill's description. Claude Code docs

Inside SKILL.md

Written by browser-act

Web Search Scraper API Skill

📖 Introduction

This skill provides users with a one-stop web page extraction service through the BrowserAct Web Search Scraper API template. It can directly extract structured markdown content from any given URL. By simply inputting the target URL, you can get clean and usable markdown data.

✨ Features

  1. No hallucinations, ensuring stable and precise data extraction: Pre-set workflows avoid AI generative hallucinations.
  2. No human-machine verification issues: No need to deal with reCAPTCHA or other verification challenges.
  3. No IP access restrictions or geofencing: No need to handle regional IP limitations.
  4. More agile execution speed: Compared to purely AI-driven browser automation solutions, task execution is faster.
  5. Extremely high cost-effectiveness: Compared to AI solutions that consume a lot of Tokens, it can significantly reduce the cost of data acquisition.

🔑 API Key Guidance Process

Before running, you must check the BROWSERACT_API_KEY environment variable. If it is not set, do not take other actions first; you should ask and wait for the user to provide it cooperatively. The Agent must inform the user at this time:

"Since you have not configured the BrowserAct API Key, please go to the BrowserAct Console first to get your Key."

🛠️ Input Parameters Details

Agent should flexibly configure the following parameters based on user needs when calling the script:

  1. target_url
    • Type: string
    • Description: The website URL to extract content from. Supports any HTTP/HTTPS URL.
    • Example: https://www.browseract.com

🚀 Invocation Method (Recommended)

Agent should execute the following independent script to achieve "one command gets the result":

# Example invocation
python -u ./scripts/web_search_scraper_api.py "target_url"

⏳ Execution Status Monitoring

Since the task involves automated browser operations, it may take a long time (several minutes). The script will continuously output status logs with timestamps (e.g., [14:30:05] Task Status: running) while running. Notice for Agent:

  • While waiting for the script to return results, please keep paying attention to the terminal output.
  • As long as the terminal is still outputting new status logs, it means the task is running normally. Do not misjudge it as a deadlock or unresponsiveness.
  • If the status remains unchanged for a long time or the script stops outputting and no result is returned, the retry mechanism can be triggered.

📊 Data Output Description

Upon successful execution, the script will directly parse and print the result from the API response. The result contains:

  • content: The complete markdown content of the webpage.

⚠️ Error Handling & Retry Mechanism

During the execution of the script, if an error occurs (such as network fluctuation or task failure), the Agent should follow this logic:

  1. Check the output content:

    • If the output contains "Invalid authorization", it means the API Key is invalid or expired. At this time, do not retry, and you should guide the user to recheck and provide the correct API Key.
    • If the output does not contain "Invalid authorization" but the task execution fails (for example, the output starts with Error: or the returned result is empty), the Agent should automatically try to re-execute the script once.
  2. Retry limit:

    • Automatic retry is limited to once. If the second attempt still fails, stop retrying and report the specific error message to the user.

🌟 Typical Use Cases

  1. Article Extraction: Scrape the main content of a news article link into markdown.
  2. Blog Post Parsing: Download the readable text from a target blog post URL.
  3. Webpage to Markdown: Convert any given website URL into clean markdown format.
  4. Documentation Scraping: Fetch the contents of a tutorial or documentation page for offline reading.
  5. Content Monitoring: Automatically extract the text from a specific webpage for updates.
  6. Data Processing: Parse the HTML of an arbitrary HTTP/HTTPS URL to structure its content.

Frequently asked questions about Web Search Scraper API

Similar skills