> ## Documentation Index
> Fetch the complete documentation index at: https://docs.spidra.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Scrape

> Learn how to use the Spidra Playground to run scraping tasks, configure prompts, choose output formats, and export data or SDK-ready code

The **Spidra Playground** is your interactive hub for creating and running scraping jobs using natural language. It's built for flexibility with no coding knowledge required.

Whether you're scraping one or multiple URLS, the Playground gives you everything you need in a single, real-time interface.

***

### Target URL(s)

The first field allows you to add one or more URLs you want to scrape.

<img src="https://mintcdn.com/spidra/tjYTncBEy2qwqvSx/images/Spidra-Playground-targetURL.png?fit=max&auto=format&n=tjYTncBEy2qwqvSx&q=85&s=b6e338d74e6c204012727f3f09f89196" alt="Hero Light" className="rounded-lg" width="1210" height="182" data-path="images/Spidra-Playground-targetURL.png" />

### Operations

Operations let you interact with the page before extracting content — clicking buttons, typing into fields, scrolling, or iterating over elements.

Each URL has a **selector mode toggle** (CSS or AI):

* **AI mode** (default) — Describe elements in plain English. For example: `Click the "Load More" button` or `Type 'laptop' into the search field`.
* **CSS mode** — Use precise CSS or XPath selectors. For example: `#submit-button` or `//div[@class='productName']`.

This is great for advanced users who want precise control or are debugging tricky pages.

<img src="https://mintcdn.com/spidra/Ra1Ckqq20JGGS54L/images/Spidra-Playground-Operations.png?fit=max&auto=format&n=Ra1Ckqq20JGGS54L&q=85&s=a03a8ec9b00d370c72e1d7026e95d694" alt="Hero Light" className="rounded-lg" width="2940" height="1586" data-path="images/Spidra-Playground-Operations.png" />

### Extraction Prompt

This is the core LLM-powered field which describes what data you want extracted in natural language. For example:

* *"Get all product titles and prices."*
* *"Extract all blog post titles and their publish dates."*

<img src="https://mintcdn.com/spidra/tjYTncBEy2qwqvSx/images/Spidra-Playground-Extraction-Prompt.png?fit=max&auto=format&n=tjYTncBEy2qwqvSx&q=85&s=aa4824ff59d2d0f6d29e15d712f95934" alt="Hero Light" className="rounded-lg" width="1210" height="356" data-path="images/Spidra-Playground-Extraction-Prompt.png" />

<Note>The clearer your prompt, the better your results. Be specific about what fields to extract.</Note>

### Output Format

Select your preferred output format from the dropdown:

| Format         | Description                               |
| -------------- | ----------------------------------------- |
| **Markdown**   | Formatted text with headings and lists    |
| **Plain text** | Raw unformatted text                      |
| **JSON**       | Structured data for programmatic use      |
| **Table**      | Tabular format for spreadsheet-style data |

<img src="https://mintcdn.com/spidra/tjYTncBEy2qwqvSx/images/Spidra-Playground-Output.png?fit=max&auto=format&n=tjYTncBEy2qwqvSx&q=85&s=b01459735939e296d3621fcd75e5b044" alt="Hero Light" className="rounded-lg" width="1210" height="182" data-path="images/Spidra-Playground-Output.png" />

### SDK Integration

Above the output panel, click on the **code** button and you’ll find a dynamically generated API code snippet. It shows you the SDK code in: `Python` `JavaScript` and `CURL`.

<img src="https://mintcdn.com/spidra/Ra1Ckqq20JGGS54L/images/Spidra-Playground-code.png?fit=max&auto=format&n=Ra1Ckqq20JGGS54L&q=85&s=c1f740f45cce34c58c923dcaa4325e59" alt="Hero Light" className="rounded-lg" width="2940" height="1586" data-path="images/Spidra-Playground-code.png" />

### Advanced Configuration

The options available include:

✅ **Stealth Mode (Proxy)** — Enables proxy rotation and anti-bot protection. When turned on, a country selector appears — pick a specific country, choose **Europe Mix** to rotate across all EU member states, or leave it on **Worldwide** for no preference.

✅ **Screenshot** — Captures a screenshot of each page after scraping.

✅ **Full Page Screenshot** — Captures the entire scrollable page instead of just the viewport.

✅ **Extract Content Only** — Removes headers, footers, and navigation from the output.

✅ **Scroll to Bottom** — Auto-scrolls page to load dynamic content.

These checkboxes can be toggled per scrape.

<img src="https://mintcdn.com/spidra/tjYTncBEy2qwqvSx/images/Spidra-Playground-Advanced-Configuration.png?fit=max&auto=format&n=tjYTncBEy2qwqvSx&q=85&s=b0c3f4404d45bfd46130655698a4195f" alt="Hero Light" className="rounded-lg" width="1210" height="182" data-path="images/Spidra-Playground-Advanced-Configuration.png" />

## Save or Scrape

* **Save Preset** : Stores your current configuration (URL, actions, prompt, config) into the Presets tab.

* **Start Scrape** : Runs the scrape job immediately and shows live output in the Output Section.
