Core Features / Template Generation

Template Generation

Create reusable scraping templates powered by AI. No coding required.

What are Templates?

Templates are reusable scraping configurations that define what data to extract from a website.

Templates allow you to define once and scrape many times. Each template stores:

  • Target URL — the website to scrape
  • Extraction rules — CSS selectors or AI-detected patterns
  • Field definitions — what data to extract (title, price, description, etc.)
  • Pagination settings — how to navigate multiple pages
  • Export format — CSV, JSON, Excel, or Google Sheets

Credits Required

Template generation uses AI credits: 10 credits for List/Details-Only templates, 15 credits for List-Then-Details templates. You get 50 free credits on sign-up.

Extraction Modes

ScraperQ supports three extraction modes to handle different website structures.

1

List-Only Mode

Extract data directly from a list page (e.g., product listings, search results, article feeds).

Product listings Search results Directory pages News feeds
2

Details-Only Mode

Extract detailed information from individual pages (e.g., single product pages, article content).

Product details Article content Profile pages Listings with detail pages
3

List-Then-Details Mode

First collect items from a list, then visit each detail page for more information. Best for complete data extraction.

E-commerce products Real estate listings Job postings Research data

Creating a Template with AI

The AI Auto-Detect Wizard analyzes the page and creates a template automatically.

1

Open ScraperQ on a Website

Navigate to the website you want to scrape and open the ScraperQ side panel by clicking the extension icon.

Side panel with website

Replace with actual extension screenshot

ScraperQ panel on a product listing page
2

Click 'Create Template'

In the ScraperQ panel, click the "Create Template" button to start the AI wizard.

Create Template button

Replace with actual extension screenshot

The Create Template button in the panel
3

Select Extraction Mode

Choose the extraction mode that matches your use case:

  • List-Only — for data visible on the current page
  • Details-Only — for data on individual detail pages
  • List-Then-Details — for comprehensive data collection

Mode selection screen

Replace with actual extension screenshot

Choose extraction mode
4

Let AI Analyze the Page

ScraperQ will analyze the page structure and automatically detect:

  • List items and their containers
  • Individual fields (title, price, description, etc.)
  • Pagination patterns (next page buttons, page numbers)

AI analysis progress

Replace with actual extension screenshot

ScraperQ analyzing page structure

Credit Usage

AI analysis consumes 10-15 credits depending on the template type. Credits are only deducted if the analysis is successful.
5

Review Detected Fields

After analysis, review the detected fields. You can:

  • Add fields — click on any element to add it as a field
  • Remove fields — delete unwanted fields
  • Rename fields — give fields descriptive names
  • Adjust selectors — fine-tune CSS selectors if needed

Field review screen

Replace with actual extension screenshot

Review and edit detected fields
6

Save Your Template

Click "Save Template" to store your configuration. The template will be saved to your account and can be reused anytime.

Save template button

Replace with actual extension screenshot

Save your template

Manual Template Creation

For advanced users who want full control over selectors.

Instead of using AI, you can manually define your template:

1

Switch to Manual Mode

Click "Manual Mode" in the template creation wizard to bypass AI detection.

2

Define Selectors

Use the selector picker to click on elements you want to extract. ScraperQ will generate the CSS selector automatically.

CSS Selectors

A CSS selector is a pattern used to identify HTML elements. For example, .product-title selects elements with the class "product-title".
3

Configure Pagination

Specify how to navigate to the next page:

  • Next button selector — CSS selector for the "Next" button
  • URL pattern — for page-number-based pagination (e.g., /page/2)
  • Infinite scroll — for pages that load more on scroll

Test Case: Product Listing Template

A practical example of creating a template for an e-commerce site.

Scenario: Extract Products from an Online Store

  1. Navigate to a product listing page on an e-commerce site
  2. Open ScraperQ and click "Create Template"
  3. Select "List-Only" mode (10 credits)
  4. Let AI detect the product grid
  5. Review fields: product name, price, image URL, product link
  6. Save the template as "Product Listing"
  7. Run the template to verify data extraction works

Expected Result: A JSON or CSV file containing product data with fields for name, price, image, and link.