Przejdź do treści
Biblioteka skilli
Dane i analityka · Automatyzacja

scrape

/scrape

Pobiera strony przez Scrapling i wyciąga dane selektorami CSS bez klucza API, także z trudniejszych stron. Przydaje się, gdy trzeba zebrać dane z jednego adresu.

Repozytorium
Dex ↗
Licencja
MIT
Ostatnia zmiana repozytorium
29.10.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
1
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
3
Przestarzałość

Brak sygnałów. Repozytorium zmienione 29.10.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co robi i kiedy

Pobiera strony przez Scrapling i wyciąga dane selektorami CSS bez klucza API, także z trudniejszych stron. Przydaje się, gdy trzeba zebrać dane z jednego adresu.

Wyzwalacze z opisu

scrapepull data from this URLextract from this site
Oryginalny opis (EN)

Scrape web pages via Scrapling — stealth fetching, anti-bot bypass, CSS selectors, no API key. Use when the user says 'scrape', 'pull data from this URL', 'extract from this site'. Not for meaning-based search of the user's own vault; use `enable-semantic-search`.

Jak działa

  1. Usage
  2. When to Use (Tool Selection)
  3. Implementation
  4. Smart Defaults
  5. Examples
  6. Prerequisites
  7. Relationship to Other Tools
Sekcje z nagłówków SKILL.md, w oryginale · 138 linii, 607 słów
Podgląd SKILL.md
---
name: scrape
description: "Scrape web pages via Scrapling — stealth fetching, anti-bot bypass, CSS selectors, no API key. Use when the user says 'scrape', 'pull data from this URL', 'extract from this site'. Not for meaning-based search of the user's own vault; use `enable-semantic-search`."
---

# scrape

Extract data from any website using Scrapling's MCP tools. Bypasses Cloudflare, handles dynamic JS-rendered pages, supports CSS selectors to pre-filter content (saves tokens).

## Usage

```
/scrape <url>
/scrape <url> with selector .article-content
/scrape stealth <url>
/scrape bulk <url1> <url2> <url3>
```

## When to Use (Tool Selection)

| Scenario | Tool | Why |
|----------|------|-----|
| Simple page, no anti-bot | `scrapling_get` | Fastest. HTTP with browser TLS fingerprint |
| JS-rendered / SPA content | `scrapling_fetch` | Uses real Chromium browser |
| Cloudflare / anti-bot protected | `scrapling_stealthy_fetch` | Stealth mode, solves captchas |
| Multiple pages, same pattern | `scrapling_bulk_get` / `scrapling_bulk_fetch` | Parallel processing |

## Implementation

### Step 1: Parse User Intent

Determine from the user's request:
- **URL(s)** to scrape
- **CSS selector** (if specified — e.g., `.main-content`, `#article`, `table.data`)
- **Stealth needed?** (Cloudflare sites, login-protected, anti-bot mentions)
- **Bulk?** (multiple URLs)

### Step 2: Choose the Right Scrapling MCP Tool

**Default path (try in order, escalate on failure):**

1. Start with `scrapling_get` — fast HTTP, handles most sites
2. If content is empty/blocked → escalate to `scrapling_fetch` (real browser)
3. If still blocked → escalate to `scrapling_stealthy_fetch` (stealth mode)

**User explicitly asks for stealth:** Go straight to `scrapling_stealthy_fetch`

**Multiple URLs:** Use the `bulk_` variants for parallel processing

### Step 3: Call the MCP Tool

Use the Scrapling MCP server tools. All tools accept:
- `url` (required): The URL to scrape
- `css_selector` (optional): CSS selector to extract specific elements — **always use this when possible to reduce token consumption**

**Single page:**
```
Call scrapling MCP tool: get
Arguments: { "url": "<url>", "css_selector": "<selector if provided>" }
```

**Stealth:**
```
Call scrapling MCP tool: stealthy_fetch
Arguments: { "url": "<url>", "css_selector": "<selector if provided>" }
```

**Bulk:**
```
Call scrapling MCP tool: bulk_get
Arguments: { "urls": ["<url1>", "<url2>"], "css_selector": "<selector>" }
```

### Step 4: Process Results

The MCP returns extracted content (HTML or text depending on selector).

**If user wants raw data:** Present it formatted
**If user wants summary:** Summarize the extracted content
**If user wants vault storage:** Save to `00-Inbox/Scrape - [Title].md`:

```markdown
# [Page Title]

**Source:** [URL]
**Scraped:** YYYY-MM-DD
**Selector:** [CSS selector used, if any]

## Content

[Extracted content]
```

### Step 5: Handle Failures

| Error | Action |
|-------|--------|
| Empty content | Escalate to next fetcher tier |
| Connection refused | Check URL is valid |
| Cloudflare challenge | Auto-escalate to `stealthy_fetch` |
| Timeout | Retry with longer timeout, suggest `fetch` for slow JS sites |

## Smart Defaults

- **News/blog articles:** Auto-suggest `article, .post-content, .entry-content` selectors
- **Product pages:** Auto-suggest `.product, .price, .description` selectors  
- **Tables:** Auto-suggest `table` selector, offer to convert to markdown table
- **Lists:** Auto-suggest `ul, ol` selectors

## Examples

```
User: /scrape https://example.com/blog/ai-trends
→ Use scrapling_get, auto-detect article content

User: /scrape stealth https://protected-site.com/data
→ Use scrapling_stealthy_fetch with Cloudflare bypass

User: scrape this page and grab just the pricing table: https://saas.com/pricing
→ Use scrapling_get with css_selector="table" or ".pricing"

User: scrape these 5 competitor pages and compare their features
→ Use scrapling_bulk_get, extract feature lists, present comparison
```

## Prerequisites

Scrapling must be installed with MCP support:
```bash
pip install "scrapling[ai]"
scrapling install
```

The `scrapling` MCP server must be configured in `.mcp.json`.

## Relationship to Other Tools

- **WebFetch (native):** Basic URL fetch, no anti-bot, no selectors. Use for simple known-good pages.
- **Firecrawl MCP:** Cloud-based, requires API key, good for crawling entire sites. Use when you need recursive crawl.
- **Scrapling:** Local, free, stealthy, selector-based. **Default choice for single-page or small-batch scraping.**
- **Apify:** Marketplace of specialized scrapers. Use for platform-specific extraction (LinkedIn, Twitter, etc.)

Wersje

RepozytoriumWynikLicencja
Ta strona · davekilleen/Dex100MIT
5uck1ess/devkit100MIT
brightdata/skills100MIT
mikegianfelice/GitHired95MIT
Mingrui-Ai/ai-job-search-cn95MIT
NekitKibersp/my-skills95MIT
madhug17/test-ai-job95MIT
Aditya7615/ai-job-search95MIT
OutlineDriven/outline-driven-development90Apache-2.0

Migawka bazy z 13.11.2026 · wersja paczki 2c0f5d6a6dbb (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 95scrapling-official
    Pobiera dane ze stron WWW przez Scrapling: zwykłe żądania HTTP, przeglądarki z JavaScriptem i równoległe pająki.
  • 95scrapling
    Pobiera i wyciąga dane ze stron internetowych: dobiera fetcher do serwisu, pisze i uruchamia skrypt w Pythonie, także dla stron za logowaniem.
  • 100scrapling
    Pobiera strony i wyciąga z nich ustrukturyzowane dane w Pythonie, od pojedynczego żądania HTTP po pełny crawl, także ze stron renderowanych JavaScriptem i z selektorami odpornymi na redesign.
  • 100web-scraping
    Scrapuje strony, wyciąga dane ustrukturyzowane i automatyzuje przeglądarkę, gdy trzeba pobrać dane z dowolnego adresu URL.
  • 100web-scraper
    Zbiera dane ze stron internetowych: scrapuje, crawluje i wyciąga treść, gdy trzeba zebrać informacje z internetu.
  • 100just-scrape
    Wyszukuje, scrapuje i crawluje strony WWW, wyciąga dane strukturalne w JSON oraz monitoruje zmiany stron przez CLI ScrapeGraph AI.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.