# YouTube Comments Scraper (Short Video)

Scrape content, username, likes, etc from Youtube video comments by video URL(s)

- Template page: [https://www.octoparse.com/template/youtube-comments-scraper-shortvideo](https://www.octoparse.com/template/youtube-comments-scraper-shortvideo)
- 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 comment pages.

## Output

The current workflow extracts 5 fields, including `Comment`, `Comment_Time`, `Comment_User_Name`, `Sub_Reply_Amounts`, `Vote_Counts`.

## 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 Pagination Times, Video URL and start the template in local or cloud mode.
- **Flexible export:** review and export results as CSV, Excel, or JSON.

## Input

### Pagination Times

Required. Scroll-Down Times Constraints: minimum=1, maximum=8000.

### Video URL

Required. Video URL Constraints: minItems=1; maxItems=100; items.minLength=1; items.maxLength=100.

## How to Use

### YouTube Comments Scraper (Short Video)

This template collects visible comment data from submitted YouTube Shorts video URLs, including commenter name, comment text, vote count, reply count, and comment time. Data source: [YouTube Shorts](https://www.youtube.com/shorts/).

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

#### Input

- **Pagination Times** (Required) — Scroll-Down Times. Accepted range: 1 to 8000.
- **Video URL** (Required) — Video URL. Up to 100 entries per run.

#### Output Fields

- `Comment_User_Name`
- `Comment`
- `Vote_Counts`
- `Sub_Reply_Amounts`
- `Comment_Time`

#### How to Use

1. Open the template in Octoparse and click **Try it**.
2. Complete **Pagination Times** and **Video URL** using the formats and limits above.
3. Choose a local or cloud run and start the task.
4. Review the output fields, then export the rows in your preferred format.

## 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

- [YouTube Video List Scraper](https://www.octoparse.com/template/youtube-video-list-scraper)
- [TikTok Video Details & Comments Scraper](https://www.octoparse.com/template/tiktok-video-comments-scraper)
- [YouTube Video List Scraper (by URL)](https://www.octoparse.com/template/youtube-video-list-scraper-by-url)
- [YouTube Details & Comments Scraper (Free)](https://www.octoparse.com/template/youtube-details-comments-scraper-free)
- [YouTube Comments & Replies Scraper](https://www.octoparse.com/template/youtube-comments-replies-scraper)

## Input Schema

```json
{
  "title": "YouTube Comments Scraper (Short Video) input",
  "description": "Input parameters configured for the current published template version.",
  "type": "object",
  "schemaVersion": 1,
  "additionalProperties": false,
  "properties": {
    "pagination_Times": {
      "title": "Pagination Times",
      "description": "Scroll-Down Times",
      "type": "integer",
      "minimum": 1,
      "maximum": 8000,
      "x-octoparse": {
        "apiEnabled": true
      }
    },
    "video_URL": {
      "title": "Video URL",
      "description": "Video URL",
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1,
        "maxLength": 100
      },
      "minItems": 1,
      "maxItems": 100,
      "x-octoparse": {
        "apiEnabled": true
      }
    }
  },
  "required": [
    "pagination_Times",
    "video_URL"
  ]
}
```

## Input JSON Example

No verified real input/output examples are currently available.


## Output Schema

```json
{
  "schemaVersion": 1,
  "type": "object",
  "properties": {
    "Comment": {
      "type": "string",
      "description": ""
    },
    "Comment_Time": {
      "type": "string",
      "description": ""
    },
    "Comment_User_Name": {
      "type": "string",
      "description": ""
    },
    "Sub_Reply_Amounts": {
      "type": "string",
      "description": ""
    },
    "Vote_Counts": {
      "type": "string",
      "description": ""
    }
  },
  "title": "YouTube Comments Scraper (Short Video) 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 `YouTube-Comments-Scraper-ShortVideo`, 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/youtube-comments-scraper-shortvideo.json)
- [Manifest](https://www.octoparse.com/templates/youtube-comments-scraper-shortvideo-manifest.json)
