# Hanmoto Book Infomation Scraper

This is a template for extracting book information (title, list price, ISBN, etc.) from 'hanmoto.com'.

- Template page: [https://www.octoparse.com/template/1768](https://www.octoparse.com/template/1768)
- Categories: Education
- 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 detail pages.

## Output

The current workflow extracts 16 fields, including `Cコード`, `ISBN`, `サブタイトル`, `シリーズ`, `タイトル`, `タイトル_読み`, `ページ数`, `初版年月日`, `判`, `定価_価格_税抜_円`, `情報登録日`, `最終更新日`, `版数`, `発売予定日`, `発行`, `著者`.

## 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 URLs (Up to 8) and start the template in cloud mode.
- **Flexible export:** review and export results as CSV, Excel, or JSON.

## Input

### URLs (Up to 8)

Optional. URL Constraints: minItems=1; maxItems=8; items.minLength=8.

## How to Use

# Hanmoto Book Infomation Scraper

Collects book information (title, list price, ISBN, etc.) from [Hanmoto](https://www.hanmoto.com/).

## Pricing

No per-line charge.

## Input

- **URLs (Up to 8)** (optional): 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 above.
3. Run the task in the cloud.
4. Review the output rows and export or process the structured data.

## Output Fields

- `タイトル`
- `タイトル_読み`
- `版数`
- `シリーズ`
- `サブタイトル`
- `著者`
- `ISBN`
- `Cコード`
- `判`
- `ページ数`
- `定価_価格_税抜_円`
- `発行`
- `発売予定日`
- `初版年月日`
- `情報登録日`
- `最終更新日`

## Limitations

- Collects fields from listing pages only; does not add data not displayed by Hanmoto.
- `初版年月日`, `情報登録日`, and `最終更新日` 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 the task.
- Use the most specific valid URLs to reduce unrelated or duplicate records.

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

- [KyujinBox Jobs Infomation](https://www.octoparse.com/template/kyujinbox-jobs-infomation)
- [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)

## Input Schema

```json
{
  "title": "Hanmoto Book Infomation Scraper input",
  "description": "Input parameters configured for the current published template version.",
  "type": "object",
  "schemaVersion": 1,
  "additionalProperties": false,
  "properties": {
    "uRLs": {
      "title": "URLs (Up to 8)",
      "description": "URL",
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 8
      },
      "minItems": 1,
      "maxItems": 8,
      "x-octoparse": {
        "apiEnabled": true
      }
    }
  },
  "required": []
}
```

## Input JSON Example

Example 1

```json
{
  "uRLs": [
    "https://www.hanmoto.com/bd/search/top?keyword=%E7%B5%8C%E5%96%B6&isbn="
  ]
}
```

Example 2

```json
{
  "uRLs": [
    "https://www.hanmoto.com/bd/search/top?keyword=%E7%B5%8C%E5%96%B6&isbn="
  ]
}
```

Example 3

```json
{
  "uRLs": [
    "https://www.hanmoto.com/bd/search/top?keyword=%E7%B5%8C%E5%96%B6&isbn="
  ]
}
```

Example 4

```json
{
  "uRLs": [
    "https://www.hanmoto.com/bd/search/top?keyword=%E7%B5%8C%E5%96%B6&isbn="
  ]
}
```

Example 5

```json
{
  "uRLs": [
    "https://www.hanmoto.com/bd/search/top?keyword=%E7%B5%8C%E5%96%B6&isbn="
  ]
}
```


## Output Schema

```json
{
  "schemaVersion": 1,
  "type": "object",
  "properties": {
    "Cコード": {
      "type": "string",
      "description": ""
    },
    "ISBN": {
      "type": "string",
      "description": ""
    },
    "サブタイトル": {
      "type": "string",
      "description": ""
    },
    "シリーズ": {
      "type": "string",
      "description": ""
    },
    "タイトル": {
      "type": "string",
      "description": ""
    },
    "タイトル_読み": {
      "type": "string",
      "description": ""
    },
    "ページ数": {
      "type": "string",
      "description": ""
    },
    "初版年月日": {
      "type": "string",
      "description": ""
    },
    "判": {
      "type": "string",
      "description": ""
    },
    "定価_価格_税抜_円": {
      "type": "string",
      "description": ""
    },
    "情報登録日": {
      "type": "string",
      "description": ""
    },
    "最終更新日": {
      "type": "string",
      "description": ""
    },
    "版数": {
      "type": "string",
      "description": ""
    },
    "発売予定日": {
      "type": "string",
      "description": ""
    },
    "発行": {
      "type": "string",
      "description": ""
    },
    "著者": {
      "type": "string",
      "description": ""
    }
  },
  "title": "Hanmoto Book Infomation 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
{
  "Cコード": "0030",
  "ISBN": "978-4-89827-641-9",
  "サブタイトル": "",
  "シリーズ": "TBC中小企業診断士試験シリーズ",
  "タイトル": "中小企業診断士　速修テキスト<7> 中小企業経営・政策　2027年版",
  "タイトル_読み": "チュウショウキギョウシンダンシ　ソクシュウテキスト　ナナ　チュウショウキギョウケイエイセイサク　ニセンニジュウナナネンバン",
  "ページ数": "339",
  "初版年月日": "2026年12月20日",
  "判": "A5変型判",
  "定価_価格_税抜_円": "2,600",
  "情報登録日": "2026年10月1日",
  "最終更新日": "2026年10月7日",
  "版数": "",
  "発売予定日": "2027年1月13日",
  "発行": "早稲田出版",
  "著者": "   山口　正浩  ( ヤマグチ　マサヒロ ) (編),  香川　遼太郎  ( カガワ　リョウタロウ ) (著)  "
}
```

Example 2

```json
{
  "Cコード": "3034",
  "ISBN": "978-4-492-52238-7",
  "サブタイトル": "リベンジを超えて　野中郁次郎回顧録",
  "シリーズ": "",
  "タイトル": "共通善の経営",
  "タイトル_読み": "キョウツウゼンノケイエイ",
  "ページ数": "960",
  "初版年月日": "2026年12月29日",
  "判": "四六判",
  "定価_価格_税抜_円": "5,800",
  "情報登録日": "2025年11月14日",
  "最終更新日": "2026年8月27日",
  "版数": "",
  "発売予定日": "2026年12月15日",
  "発行": "東洋経済新報社",
  "著者": "   野中 郁次郎  ( ノナカ イクジロウ ) (著),  勝見 明  ( カツミ アキラ ) (著),  荻野進介  ( オギノ シンスケ ) (著)  "
}
```

Example 3

```json
{
  "Cコード": "3034",
  "ISBN": "978-4-492-52238-7",
  "サブタイトル": "リベンジを超えて　野中郁次郎回顧録",
  "シリーズ": "",
  "タイトル": "共通善の経営",
  "タイトル_読み": "キョウツウゼンノケイエイ",
  "ページ数": "960",
  "初版年月日": "2026年11月16日",
  "判": "四六判",
  "定価_価格_税抜_円": "5,800",
  "情報登録日": "2025年11月14日",
  "最終更新日": "2026年8月23日",
  "版数": "",
  "発売予定日": "2026年11月2日",
  "発行": "東洋経済新報社",
  "著者": "   野中 郁次郎  ( ノナカ イクジロウ ) (著),  勝見 明  ( カツミ アキラ ) (著),  荻野進介  ( オギノ シンスケ ) (著)  "
}
```

Example 4

```json
{
  "Cコード": "3032",
  "ISBN": "978-4-911706-01-5",
  "サブタイトル": "１から分かる！　弁理士の仕事と特許の基礎知識・実務",
  "シリーズ": "",
  "タイトル": "新版　技術と経営を守る「知財」の仕組み",
  "タイトル_読み": "シンパン ギジュツトケイエイヲマモルチザイノシクミ",
  "ページ数": "208",
  "初版年月日": "2026年10月31日",
  "判": "四六判",
  "定価_価格_税抜_円": "2,000",
  "情報登録日": "2026年7月30日",
  "最終更新日": "2026年8月17日",
  "版数": "",
  "発売予定日": "2026年10月30日",
  "発行": "浮舟社",
  "著者": "   芳野 理之  ( ヨシノ ミチユキ ) (著)  "
}
```

Example 5

```json
{
  "Cコード": "0030",
  "ISBN": "978-4-86276-401-0",
  "サブタイトル": "田んぼのど真ん中に年間6万人訪れるホテルをつくった異端の経営者の思想と戦略",
  "シリーズ": "土着のイノベーション",
  "タイトル": "地方の希望となれ",
  "タイトル_読み": "チホウノキボウトナレ",
  "ページ数": "288",
  "初版年月日": "2026年10月17日",
  "判": "四六判",
  "定価_価格_税抜_円": "1,800",
  "情報登録日": "2026年8月8日",
  "最終更新日": "2026年8月7日",
  "版数": "",
  "発売予定日": "2026年10月16日",
  "発行": "英治出版",
  "著者": "   山中大介  ( ヤマナカダイスケ ) (著)  "
}
```

## 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": "1768",
  "taskName": "Hanmoto Book Infomation Scraper",
  "parameters": "{\"uRLs\":[\"https://www.hanmoto.com/bd/search/top?keyword=%E7%B5%8C%E5%96%B6&isbn=\"]}"
}
```

## Python Example

```python
import json
import requests

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

parameters = json.loads("{\"uRLs\":[\"https://www.hanmoto.com/bd/search/top?keyword=%E7%B5%8C%E5%96%B6&isbn=\"]}")

response = requests.post(
    f"{OPENAPI_BASE}/api/agentTools/executeTask",
    headers={
        "Authorization": f"Bearer {ACCESS_TOKEN}",
        "Content-Type": "application/json",
    },
    json={
        "templateName": "1768",
        "taskName": "Hanmoto Book Infomation 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": "1768",
  "taskName": "Hanmoto Book Infomation Scraper",
  "parameters": "{\"uRLs\":[\"https://www.hanmoto.com/bd/search/top?keyword=%E7%B5%8C%E5%96%B6&isbn=\"]}"
}
JSON
```

## MCP Setup

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