web-scraping skillA
web-scraping is agent-read markdown (skill) from ginlix-ai/langalpha: Web scraping: scrape_page / scrape_pages MCP tools for fetching pages as markdown, HTML, or text (fast HTTP, browser rendering, anti-bot stealth), plus the direct Scrapling Python API for selectors, sessions, and spiders.
Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.
What the file says
# Web Scraping
## Overview
Two ways to scrape in the sandbox:
1. **MCP tools** (`scrape_page`, `scrape_pages`) — recommended for straight "give me this page's content". Synchronous, return dicts.
2. **Direct Scrapling Python API** — for CSS/XPath selectors, sessions, logins, and multi-page spiders. Async, returns Page objects with `.css()` / `.xpath()`.
Quick fetches can run inline via `ExecuteCode`. For spiders, multi-URL crawls, or anything you'll iterate on, write the scraper to `<task_name>/scraper.py` and run it via `Bash` — edit-and-rerun beats resubmitting code.
## MCP Tools
Import from `tools.scrape`. **Synchronous** — no `await`.
```python
from tools.scrape import scrape_page, scrape_pages
```
### Signatures
```python
scrape_page(url: str, mode: str = "fast", extraction: str = "markdown",
timeout: float = 30.0, solve_cloudflare: bool = False) -> dict
scrape_pages(urls: list[str], mode: str = "fast", extraction: str = "markdown",
timeout: float = 30.0, solve_cloudflare: bool = False) -> dict
```
### Parameters
| Param | Default | Notes |
|---|---|---|
…Read the whole file at its exact version.
How to install
mdr add ginlix-ai/langalpha/web-scraping@git:20260921.26f807bmdr add ginlix-ai/langalpha/web-scraping@sha256:d8b8f9e4fea6f894Pin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.
[](https://markdownregistry.com/a/art_yizc5z5kp6on2jew)
0 badge views in 30 days
Versions
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260921.26f807b latest | 2026-09-21 | 26f807b | 8,521 B | A | view · diff |
| git:20260901.36fbb3c | 2026-09-01 | 36fbb3c | 8,531 B | A | view · diff |
| git:20260826.8da358a | 2026-08-26 | 8da358a | 8,517 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (8521 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
ginlix-ai/langalpha · 1,774 stars · license Apache-2.0 · pushed 2026-09-24 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_yizc5z5kp6on2jew GET https://markdownregistry.com/api/v1/resolve?ref=ginlix-ai/langalpha/web-scraping GET https://markdownregistry.com/api/v1/blob/d8b8f9e4fea6f894ce94130092b6e0010f6f0cecd2161affe8a05332efd06eef
Your agent does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
More from ginlix-ai/langalpha
Every file in ginlix-ai/langalpha