# PRtimes Scraper

This template is designed for extracting press release information (such as summary, distribution date and time, company details, etc.) from PRtimes using keywords.

- Template page: [https://www.octoparse.com/template/prtimes-press-release-scraper](https://www.octoparse.com/template/prtimes-press-release-scraper)
- Categories: News Media
- Status: `PUBLISHED`
- Run mode: `CLOUD`

## 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 search-results pages, detail pages.

## Output

The current workflow extracts 7 fields, including `プレスリリース名`, `会社名`, `採集時間`, `検索キーワード`, `画像URL`, `詳細ページURL`, `配信日時`.

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

## Input

### Keywords

Required. MainKeys Constraints: minItems=1; maxItems=1000; items.minLength=1; items.maxLength=100.

### PageSize

Optional. PageSize Constraints: minimum=1, maximum=1000.

## How to Use

# PRtimes Scraper Template Guide

## What it collects
This template extracts press release information from [PRtimes](https://prtimes.jp/) using keywords. Collected data includes summary, distribution date/time, company details, image URL, and detail page URL.

## Output fields
- `検索キーワード`
- `プレスリリース名`
- `会社名`
- `配信日時`
- `画像URL`
- `詳細ページURL`

Fields may be empty if the source page does not provide them.

## Pricing
- No per-line charge for this template.
- Octoparse plan or resource limits may still apply.

## Input
- `Keyword (up to 100 per run)` — required. Enter one or more values, one per line.

## How to use
1. Open the template and select **Try it** or **Start**.
2. Complete the input fields.
3. Choose a local or cloud run.
4. Review the output rows and export or process the structured data.

## Scheduling, export, and API
- Run locally or in the cloud.
- Export to CSV, Excel, JSON, databases, or cloud storage.
- Send data to reporting or AI workflows through Octoparse APIs or the [AgentTools API](https://www.octoparse.com/docs/en/api-reference/agenttools-api/search-templates).
- Recurring runs and API access may require a paid Octoparse plan.
- For local scheduled runs, keep your computer and Octoparse open.

## Limitations
- Collects only the detail-page fields listed above. It does not add data that PRtimes does not display.
- Does not collect reviews or comments.
- `配信日時`, `画像URL`, and `詳細ページURL` can be empty when the source record does not provide them.

## Tips
- Start with one or a few inputs and review the returned rows before scaling.
- Use the most specific valid `Keyword (up to 100 per run)` to reduce unrelated or duplicate records.
- Use a stable URL or identifier from the output fields as the deduplication key when available.

## 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": "PRtimes Scraper input",
  "description": "Input parameters configured for the current published template version.",
  "type": "object",
  "schemaVersion": 1,
  "additionalProperties": false,
  "properties": {
    "keywords": {
      "title": "Keywords",
      "description": "MainKeys",
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1,
        "maxLength": 100
      },
      "minItems": 1,
      "maxItems": 1000,
      "x-octoparse": {
        "apiEnabled": true
      }
    },
    "pageSize": {
      "title": "PageSize",
      "description": "PageSize",
      "type": "integer",
      "minimum": 1,
      "maximum": 1000,
      "x-octoparse": {
        "apiEnabled": true
      }
    }
  },
  "required": [
    "keywords"
  ]
}
```

## Input JSON Example

Example 1

```json
{
  "keywords": [
    "AI"
  ]
}
```

Example 2

```json
{
  "keywords": [
    "株式会社"
  ],
  "pageSize": 200
}
```

Example 3

```json
{
  "keywords": [
    "AI"
  ]
}
```

Example 4

```json
{
  "keywords": [
    "株式会社"
  ],
  "pageSize": 200
}
```

Example 5

```json
{
  "keywords": [
    "株式会社"
  ],
  "pageSize": 100
}
```


## Output Schema

```json
{
  "schemaVersion": 1,
  "type": "object",
  "properties": {
    "プレスリリース名": {
      "type": "string",
      "description": ""
    },
    "会社名": {
      "type": "string",
      "description": ""
    },
    "採集時間": {
      "type": "string",
      "description": ""
    },
    "検索キーワード": {
      "type": "string",
      "description": ""
    },
    "画像URL": {
      "type": "string",
      "description": ""
    },
    "詳細ページURL": {
      "type": "string",
      "description": ""
    },
    "配信日時": {
      "type": "string",
      "description": ""
    }
  },
  "title": "PRtimes 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

Example 1

```json
{
  "プレスリリース名": "呼吸器系に対する低濃度水素の保護効果｜MiZ・順天堂大学医学部・名古屋大学医学部・京都大学医学部",
  "会社名": "MiZ株式会社",
  "採集時間": "2026-11-13 02:43:09",
  "検索キーワード": "AI",
  "画像URL": "https://prcdn.freetls.fastly.net/release_image/47753/109/47753-109-cf5d609d6d00be1a1c3d8bd42d631bc5-1672x941.png?width=295&height=195&canvas=118%3A78&quality=85%2C75&format=jpeg&auto=webp&fit=bounds&bg-color=fff",
  "詳細ページURL": "https://prtimes.jp/main/html/rd/p/000000109.000047753.html",
  "配信日時": "2分前"
}
```

Example 2

```json
{
  "プレスリリース名": "地域活動は、社員の「自社への誇り」となるのか？ IKIGAIデザイン協会が、奈良の運送会社で実証調査…",
  "会社名": "一般社団法人日本IKIGAIデザイン協会",
  "採集時間": "2026-11-12 09:55:26",
  "検索キーワード": "株式会社",
  "画像URL": "https://prcdn.freetls.fastly.net/release_image/180880/7/180880-7-7f20f0601dab0dc34f9c9c6aabf87667-1536x864.png?width=295&height=195&canvas=118%3A78&quality=85%2C75&format=jpeg&auto=webp&fit=bounds&bg-color=fff",
  "詳細ページURL": "https://prtimes.jp/main/html/rd/p/000000007.000180880.html",
  "配信日時": "20分前"
}
```

Example 3

```json
{
  "プレスリリース名": "先進のAI技術を搭載した家庭用3Dプリンター「MakeBuddy Smart5」、高品質な3Dプリン…",
  "会社名": "Zhejiang Qidi Technology Co., Ltd.",
  "採集時間": "2026-11-10 18:28:22",
  "検索キーワード": "AI",
  "画像URL": "https://prcdn.freetls.fastly.net/release_image/187775/4/187775-4-9edfd4d5322e7bce0047bb45b456bcbe-1800x1000.png?width=295&height=195&canvas=118%3A78&quality=85%2C75&format=jpeg&auto=webp&fit=bounds&bg-color=fff",
  "詳細ページURL": "https://prtimes.jp/main/html/rd/p/000000004.000187775.html",
  "配信日時": "4時間前"
}
```

Example 4

```json
{
  "プレスリリース名": "「もったいない」から生まれる新たな価値。オフィスバスターズ、着物生地アートを駐日ウガンダ共和国大使へ…",
  "会社名": "オフィスバスターズ",
  "採集時間": "2026-11-09 03:52:18",
  "検索キーワード": "株式会社",
  "画像URL": "https://prcdn.freetls.fastly.net/release_image/44939/655/44939-655-88fb7512da0dfe3b0eb5c1ec129dda70-907x626.jpg?width=295&height=195&canvas=118%3A78&quality=85%2C75&format=jpeg&auto=webp&fit=bounds&bg-color=fff",
  "詳細ページURL": "https://prtimes.jp/main/html/rd/p/000000655.000044939.html",
  "配信日時": "2分前"
}
```

Example 5

```json
{
  "プレスリリース名": "【PARCELLE JEWELRY】11月の「TRUNK SHOW」を全国9店舗で開催",
  "会社名": "株式会社 PARCELLE",
  "採集時間": "2026-11-06 06:54:28",
  "検索キーワード": "株式会社",
  "画像URL": "https://prcdn.freetls.fastly.net/release_image/139789/383/139789-383-5c468eb044ba1b285dc323829590e826-1254x1254.png?width=295&height=195&canvas=118%3A78&quality=85%2C75&format=jpeg&auto=webp&fit=bounds&bg-color=fff",
  "詳細ページURL": "https://prtimes.jp/main/html/rd/p/000000383.000139789.html",
  "配信日時": "2分前"
}
```

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

```json
{
  "templateName": "prtimes-press-release-scraper",
  "taskName": "PRtimes Scraper",
  "parameters": "{\"keywords\":[\"AI\"]}"
}
```

## Python Example

```python
import json
import requests

OPENAPI_BASE = "https://openapi.octoparse.com"
ACCESS_TOKEN = "YOUR_ACCESS_TOKEN"

parameters = json.loads("{\"keywords\":[\"AI\"]}")

response = requests.post(
    f"{OPENAPI_BASE}/api/agentTools/executeTask",
    headers={
        "Authorization": f"Bearer {ACCESS_TOKEN}",
        "Content-Type": "application/json",
    },
    json={
        "templateName": "prtimes-press-release-scraper",
        "taskName": "PRtimes Scraper",
        "parameters": json.dumps(parameters, ensure_ascii=False),
    },
    timeout=60,
)
print(response.status_code)
print(response.json())
```

## HTTP/cURL Example

```bash
curl -X POST "https://openapi.octoparse.com/api/agentTools/executeTask" \
  -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  --data-binary @- <<'JSON'
{
  "templateName": "prtimes-press-release-scraper",
  "taskName": "PRtimes Scraper",
  "parameters": "{\"keywords\":[\"AI\"]}"
}
JSON
```

## MCP Setup

Connect an MCP-compatible AI client to `https://mcp.octoparse.com` using browser OAuth or an Octoparse API key. Find `prtimes-press-release-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/prtimes-press-release-scraper.json)
- [Manifest](https://www.octoparse.com/templates/prtimes-press-release-scraper-manifest.json)
