Works with the AI tools you already use

    CClaude CodeCCursorCCodex CLIGGitHub CopilotGGemini CLIVVS CodeWWindsurfMManus+14 more

    Nex Scraper Politeness Pattern

    by Nex AI

    2

    A respectful, async web-scraping layer with per-domain rate limiting, robots.txt compliance, and email filtering.

    Free

    0 installsSecurity scanned

    See it in action

    You say

    I need a Python script to scrape 200 business websites for their contact info. It needs to be polite so I don't get IP banned, and I only want general inboxes like info or hello.

    Your agent does

    Generated PoliteScraper package.

    • Global concurrency: 5
    • Per-domain delay: 3s
    • Robots.txt: Enabled
    • Filter: Role-based emails only (skipping personal names).

    Use scraper.fetch_many(urls) to retrieve content securely without triggering bot detection.

    About this skill

    What it does

    The Nex Scraper Politeness Pattern provides a production-ready, asynchronous Python fetch layer designed for ethical and sustainable web scraping. It moves beyond simple HTTP requests by implementing a sophisticated coordination layer that prevents your agent from being flagged as a "bad bot." The skill generates a complete package including a PoliteScraper engine and a specialized email_extractor.

    Why use this skill

    Standard scraping scripts often fail because they lack the "politeness" heuristics that real-world websites expect. Instead of just hammering a URL, this skill implements a global concurrency cap paired with a per-domain throttle. This means you can scrape 100 different websites simultaneously, but your agent will never hit any single site more than once every few seconds. It ensures your bot identifies itself honestly, respects robots.txt, and handles transient network errors with exponential backoff.

    Supported tools and features

    • Async Concurrency: Managed via httpx and semaphores for high-performance non-blocking I/O.
    • Per-Domain Throttling: Unique locking mechanism to ensure specific hosts aren't overwhelmed.
    • Honest Identification: Automatically configures a transparent User-Agent with contact details.
    • Robots.txt Awareness: Integrated checking and caching of host permissions.
    • Defensible Lead Gen: A regex-based extractor that targets role-based emails (info@, contact@) while automatically filtering out sensitive personal addresses.

    The Result

    You receive a modular Python package (polite_scraper.py, email_extract.py, and requirements.txt). The code is cleanly structured as an async context manager, providing a fetch_many() method that returns structured results without crashing on individual failures.

    Built by Nex AI. More skills and info at nex-ai.be and slopsome.com.

    Changelog

    1. v1.1LatestJul 13, 2026

      Refreshed audited build: manifest, README, worked examples and security declarations cleaned up.

    2. v1.0Jun 6, 2026

      Initial release

    How to install

    Drop the file into your AI Agent. Works with Claude, Cursor, ChatGPT, and 20+ more.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill passes our trust checks below.

    Security scanned

    Passed our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Free forever

    No account required to browse

    Trust & safety

    Security scanned

    Verified clean 17 days ago

    • Free to download with an account

    Listed1 month ago
    Updated17 days ago

    Creator

    Founder of Nex AI. I build production-grade Claude Skills from systems that actually run: multi-tenant SaaS, Telegram agents, Raspberry Pi infrastructure, 3D multiplayer rooms. Every skill ships battle-tested patterns, not theory. 33+ open source skills published, commercial catalog growing.

    Frequently Asked Questions

    Popular in Data Engineering

    Free