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
Extraction Modes
ScraperQ supports three extraction modes to handle different website structures.
List-Only Mode
Extract data directly from a list page (e.g., product listings, search results, article feeds).
Details-Only Mode
Extract detailed information from individual pages (e.g., single product pages, article content).
List-Then-Details Mode
First collect items from a list, then visit each detail page for more information. Best for complete data extraction.
Creating a Template with AI
The AI Auto-Detect Wizard analyzes the page and creates a template automatically.
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
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
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
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
Credit Usage
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
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
Manual Template Creation
For advanced users who want full control over selectors.
Instead of using AI, you can manually define your template:
Switch to Manual Mode
Click "Manual Mode" in the template creation wizard to bypass AI detection.
Define Selectors
Use the selector picker to click on elements you want to extract. ScraperQ will generate the CSS selector automatically.
CSS Selectors
.product-title selects elements with the class "product-title".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
- Navigate to a product listing page on an e-commerce site
- Open ScraperQ and click "Create Template"
- Select "List-Only" mode (10 credits)
- Let AI detect the product grid
- Review fields: product name, price, image URL, product link
- Save the template as "Product Listing"
- 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.