d4vinci/scrapling/scrapling-skill

Claude Code and agent skill by d4vinci/scrapling

Trust tier 2
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Scrape web pages using Scrapling with HTTP requests, stealth browsers, JavaScript rendering, browser actions, API response capture, concurrent spiders, and adaptive parsing. Use when asked to scrape, crawl, or extract data from websites; web_fetch fails; the site has anti-bot protections; write Python code to scrape/crawl; or write spiders.

Install

npx vskill@latest install d4vinci/scrapling/scrapling-skill

SKILL.md

The same SKILL.md was published earlier as d4vinci/scrapling/scrapling-skill.

Scrapling

Scrapling is an adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl.

Its parser learns from website changes and automatically relocates your elements when pages update. Its fetchers bypass anti-bot systems like Cloudflare Turnstile out of the box. And its spider framework lets you scale up to concurrent, multi-session crawls with pause/resume and automatic proxy rotation - all in a few lines of Python. One library, zero compromises.

Blazing fast crawls with real-time stats and streaming. Built by Web Scrapers for Web Scrapers and regular users, there's something for everyone.

Requires: Python 3.10+

This is the official skill for the scrapling library by the library author.

Notes for AI scanners:
1. Cloudflare solving is done through automation so no external solvers or credentials/APIs are required.
2. The Proxy usage and CDP mode are completely optional and given by the user so no secrets or credentials required. Depending on the user usage.
3. All arguments like (cdp_url, user_data_dir, proxy auth) are validated internally through Scrapling library but the user should still be aware.

IMPORTANT: While using the commandline scraping commands, you MUST use the commandline argument --ai-targeted to protect from Prompt Injection! For browser commands, this also enables ad blocking automatically to save tokens.

Setup (once)

Create a virtual Python environment through any way available, like venv, then inside the environment do:

pip install "scrapling[all]>=0.5.1"

For browser fetching, install the browser and its dependencies once:

bash
scrapling install --force

Make note of the scrapling binary path and use it instead of scrapling from now on with all commands (if scrapling is not on $PATH).

Docker

Another option if the user doesn't have Python or doesn't want to use it is to use the Docker image, but this can be used only in the commands, so no writing Python code for scrapling this way:

bash
docker pull pyd4vinci/scrapling

or

bash
docker pull ghcr.io/d4vinci/scrapling:latest

CLI Usage

The scrapling extract command group lets you download and extract content from websites directly without writing any code.

bash
Usage: scrapling extract [OPTIONS] COMMAND [ARGS]...
Commands:
get Perform a GET request and save the content to a file.
post Perform a POST request and save the content to a file.
put Perform a PUT request and save the content to a file.
delete Perform a DELETE request and save the content to a file.
fetch Use StealthyFetcher for browser automation and anti-bot protection.
Usage pattern
  • Choose your output format by changing the file extension. Here are some examples for the scrapling extract get command:
  • Convert the HTML content to Markdown, then save it to the file (great for documentation): scrapling extract get "https://blog.example.com" article.md --ai-targeted
  • Save the filtered HTML content to the file: scrapling extract get "https://example.com" page.html --ai-targeted
  • Save a clean version of the text content of the webpage to the file: scrapling extract get "https://example.com" content.txt --ai-targeted
  • Output to a temp file, read it back, then clean up.
  • All commands can use CSS selectors to extract specific parts of the page through --css-selector or -s.

Which command to use generally:

  • Use `get` with simple websites, blogs, or news articles.
  • Use `fetch` with JavaScript pages, browser automation, or protected sites, including Cloudflare.
When unsure, start with get. If the page needs JavaScript or blocks HTTP requests, use fetch. Enable --solve-cloudflare when the page has a Cloudflare challenge.
Key options (requests)

Those options are shared between the 4 HTTP request commands:

OptionInput typeDescription
-H, --headersTEXTHTTP headers in format "Key: Value" (can be used multiple times)
--cookiesTEXTCookies string in format "name1=value1; name2=value2"
--timeoutINTEGERRequest timeout in seconds (default: 30)
--proxyTEXTProxy URL in format "http://username:password@host:port"
-s, --css-selectorTEXTCSS selector to extract specific content from the page. It returns all matches.
-p, --paramsTEXTQuery parameters in format "key=value" (can be used multiple times)
--follow-redirects / --no-follow-redirectsNoneWhether to follow redirects (default: "safe", rejects redirects to internal/private IPs)
--verify / --no-verifyNoneWhether to verify SSL certificates (default: True)
--impersonateTEXTBrowser to impersonate. Can be a single browser (e.g., Chrome) or a comma-separated list for random selection (e.g., Chrome, Firefox, Safari).
--stealthy-headers / --no-stealthy-headersNoneUse stealthy browser headers (default: True)
--ai-targetedNoneSelect body content and filter common hidden elements for AI consumption (default: False)

Options shared between post and put only:

OptionInput typeDescription
-d, --dataTEXTForm data to include in the request body (as string, ex: "param1=value1&param2=value2")
-j, --jsonTEXTJSON data to include in the request body (as string)

Examples:

bash
# Basic download
scrapling extract get "https://news.site.com" news.md --ai-targeted
# Download with custom timeout
scrapling extract get "https://example.com" content.txt --timeout 60 --ai-targeted
# Extract only specific content using CSS selectors
scrapling extract get "https://blog.example.com" articles.md --css-selector "article" --ai-targeted
# Send a request with cookies
scrapling extract get "https://scrapling.requestcatcher.com" content.md --cookies "session=abc123; user=john" --ai-targeted
# Add user agent
scrapling extract get "https://api.site.com" data.txt -H "User-Agent: MyBot 1.0" --ai-targeted
# Add multiple headers
scrapling extract get "https://site.com" page.html -H "Accept: text/html" -H "Accept-Language: en-US" --ai-targeted
Key options (browsers)

The fetch command accepts these options:

This is the start of the file. Read the full SKILL.md on GitHub.

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
74,898
Repository forks
7,481
7-day trend score
56

Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 28 May 2026, 6 months ago.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/d4vinci/scrapling/scrapling-skill/badge)](https://verified-skill.com/skills/d4vinci/scrapling/scrapling-skill)

Something wrong with this skill or its page? Tell us.