# Gab Scraper

Extract post data (username, account, time, content, etc) from Gab by keyword.

- Template page: [https://www.octoparse.com/template/gab-scraper](https://www.octoparse.com/template/gab-scraper)
- Categories: Social Media
- Status: `PUBLISHED`
- Run mode: `BOTH`

## Pricing

Free.

## What is an Octoparse template?

An Octoparse template is a ready-to-use scraping workflow with predefined inputs and structured outputs. Use the exact parameter keys below; do not invent parameters.

## Overview

This ready-to-use template collects structured data from general web pages.

## Output

The current workflow extracts 10 fields, including `keyword`, `username`, `account`, `post_time`, `post`, `replies`, `reposts`, `quotes`, `post_url`, `user_page`.

## Use Cases

- Use structured results for research, comparison, and monitoring.
- Collect rows without building the extraction workflow from scratch.
- Combine results with other templates for downstream enrichment.
- Review a representative result before starting a large batch.

## Why Octoparse

- **No coding required:** complete Keyword (up to 10 per run) and start the template in local or cloud mode.
- **Flexible export:** review and export results as CSV, Excel, or JSON.

## Input

### Keyword (up to 10 per run)

Required. Enter a list of keywords for searching posts on Gab. Constraints: minItems=1; maxItems=10; items.minLength=1; items.maxLength=5000.

## How to Use

# Gab Scraper – Public Post & Engagement Data

Collect Gab listing records: username, post URL, keyword, account, post time, post content, replies, reposts, and quotes.

**Source:** [Gab](https://gab.com/) – social network with posts, replies, reposts, and quotes.

**Pricing:** Free of charge (no per-line fee; Octoparse plan/resource limits may apply).

## Input

- **Keyword** (Required) – list of search terms for Gab posts. Up to **10 entries per run**.

## Output Fields

| Field        | Description                    |
|--------------|--------------------------------|
| `keyword`    | Search term used               |
| `username`   | Display name of poster         |
| `account`    | @handle                        |
| `post_time`  | Date and time of post          |
| `post`       | Full text of the post          |
| `replies`    | Number of replies (if any)     |
| `reposts`    | Number of reposts              |
| `quotes`     | Number of quotes (if any)      |
| `post_url`   | Direct link to the post        |
| `user_page`  | Link to the user’s profile     |

## How to Use

1. Open **Gab Scraper** in Octoparse and click **Try it!**.
2. Fill in **Keyword** (up to 10 values, one per line or comma-separated).
3. Choose **Local** or **Cloud** run and start the task.
4. After execution, review the exported dataset (fields include `username`, `post_url`, `post_time`, `keyword`, `account`).

## Notes

- Start with a focused keyword to verify the output before expanding.
- Keep the `keyword` field in exports to trace each row to its original search term.

## Notes

If you would like us to develop additional templates for Gab, such as collecting posts from user profiles or group posts, please leave us a message or send an email to template@octoparse.com . We will promptly assess the development possibility. If the template doesn't work well, feel free to report it to us with the parameters you test We will gather usage data after the template is launched. If the usage data does not meet expectations, we may consider discontinuing the template later. If you believe the template should be retained, please give it a thumbs up. We also provide managed template/crawler customization services. If you're interested, please contact template@octoparse.com with your project details

## Limitations

Results depend on what the source site exposes at run time. Fields may be empty when a source page does not provide a value. The template enforces the input limits shown above.

## Tips

Use specific, valid inputs and review a representative result before starting a large batch. Remove duplicate inputs when repeated records are not needed.

## FAQ

### What do I need to enter?

Use the exact inputs and limits listed above.

### What data does this template return?

See Output Schema below; availability can vary by source record.

### How is usage billed?

See the Pricing section above for current pricing and billing details.

## Related Templates

- [Bic Camera Search Results Scraper](https://www.octoparse.com/template/bic-camera-search-results-scraper)
- [Google Search Scraper](https://www.octoparse.com/template/google-search-scraper)
- [Google Maps Listings Scraper (by Keywords)](https://www.octoparse.com/template/google-maps-scraper-listing-page-by-keyword)
- [Google Maps Email Scraper & Extractor](https://www.octoparse.com/template/google-maps-contact-scraper)
- [Google Maps Leads Scraper](https://www.octoparse.com/template/google-maps-scraper-store-details-by-keyword)

## Input Schema

```json
{
  "title": "Gab Scraper input",
  "description": "Input parameters configured for the current published template version.",
  "type": "object",
  "schemaVersion": 1,
  "additionalProperties": false,
  "properties": {
    "keyword": {
      "title": "Keyword (up to 10 per run)",
      "description": "Enter a list of keywords for searching posts on Gab.",
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1,
        "maxLength": 5000
      },
      "minItems": 1,
      "maxItems": 10,
      "x-octoparse": {
        "apiEnabled": true
      }
    }
  },
  "required": [
    "keyword"
  ]
}
```

## Input JSON Example

No verified real input/output examples are currently available.


## Output Schema

```json
{
  "schemaVersion": 1,
  "type": "object",
  "properties": {
    "keyword": {
      "type": "string",
      "description": ""
    },
    "username": {
      "type": "string",
      "description": ""
    },
    "account": {
      "type": "string",
      "description": ""
    },
    "post_time": {
      "type": "string",
      "description": ""
    },
    "post": {
      "type": "string",
      "description": ""
    },
    "replies": {
      "type": "string",
      "description": ""
    },
    "reposts": {
      "type": "string",
      "description": ""
    },
    "quotes": {
      "type": "string",
      "description": ""
    },
    "post_url": {
      "type": "string",
      "description": ""
    },
    "user_page": {
      "type": "string",
      "description": ""
    }
  },
  "title": "Gab Scraper output",
  "description": "Initial output fields derived from the current published implementation. Field descriptions are maintained by Data Center; production field names and types should be refreshed from recent successful runs.",
  "additionalProperties": false
}
```

## Output Example

No verified real input/output examples are currently available.

## API

`POST https://openapi.octoparse.com/api/agentTools/executeTask`

This is the OpenAPI Agent Tools `executeTask` endpoint. Authenticate with a Bearer token.

Request body:

`templateName` is the template slug; `parameters` is a JSON object string whose keys match Input Schema; `taskName`, `idempotencyKey`, and `maxCollectedRows` are optional.

Obtain a token:

```http
POST https://openapi.octoparse.com/token
Content-Type: application/json

{
  "username": "YOUR_USERNAME",
  "password": "YOUR_PASSWORD",
  "grant_type": "password"
}
```

Use `data.access_token` as `Authorization: Bearer <token>`. After starting, poll `getTaskStatus` and export with `exportData`.

No verified real input/output examples are currently available.

## MCP Setup

Connect an MCP-compatible AI client to `https://mcp.octoparse.com` using browser OAuth or an Octoparse API key. Find `gab-scraper`, inspect its inputs, create a cloud task with the exact Input Schema keys, and export JSON results.

## Machine-readable Resources

- [Template contract](https://www.octoparse.com/templates/gab-scraper.json)
- [Manifest](https://www.octoparse.com/templates/gab-scraper-manifest.json)
