This tutorial shows how to scrape Kojima products into CSV with the Kojima Pet Supplies Details Scraper template for UScraper. You will import the workflow, understand the six bundled preview records, set the export path, validate Japanese product fields, and decide when a hosted Kojima scraper or product scraper API is a better fit.
Before you start
Prerequisites for scraping Kojima products
You need UScraper installed as a local desktop app, the Kojima template JSON, and a writable folder for CSV exports. The fastest path is to open the Kojima Pet Supplies Details Scraper, download the template, and import it instead of rebuilding the block graph by hand.
This article focuses on product detail extraction, not account pages, checkout data, or private customer information. Before you automate any live Kojima page, review the official Kojima online store, current site rules, and robots.txt. If you are testing category discovery, use official listing pages only when your use case and permissions support it.
Treat the first run as a policy and data-quality check. Technical access does not automatically mean permission to collect, store, reuse, or redistribute product data.
Workflow anatomy
What the Kojima product details scraper exports
The JSON export is the authoritative workflow sample. Its block path is compact: Navigate -> Wait for Page Load -> Inject JavaScript -> Wait for Element -> Structured Export -> Loop Continue. Navigate loops through six product records, Inject JavaScript prepares the field values, Wait for Element confirms that the prepared body data exists, and Structured Export appends one CSV row per item.
| Export area | CSV fields | Validation question |
|---|---|---|
| Product identity | 商品タイトル, 申込番号, JANコード | Does the row identify the expected Kojima item and barcode? |
| Commercial data | 価格, セール価格 | Is regular price separate from sale price, and are blank sale cells expected? |
| Product source | メーカー名, 製造国, 成分 | Are maker, country, and ingredient text encoded correctly in the CSV? |
| Audit fields | ページのURL, 画像のURL | Can a reviewer trace the row back to a product page and image URL pattern? |
kojima-pet-supplies-details-scraper.csvColumn
商品タイトル
Japanese product title with campaign text, brand, flavor, size, and life stage.
Column
価格
Tax-inclusive price string prepared by the workflow.
Column
セール価格
Sale price field when populated.
Column
メーカー名
Maker or brand owner.
Column
製造国
Manufacturing country.
Column
申込番号
Kojima item number.
Column
JANコード
JAN barcode for catalog matching.
Column
成分
Ingredient or composition text.
Column
ページのURL
Product detail URL retained for review.
Column
画像のURL
Product image URL derived from the item number.
Sample rows
1 of many
| 商品タイトル | 価格 | セール価格 | メーカー名 | 製造国 | 申込番号 | JANコード | 成分 | ページのURL | 画像のURL |
|---|---|---|---|---|---|---|---|---|---|
| 【ポイント10倍】 セレクトバランス パピー チキン 小粒 子犬・母犬用 1kg | ¥1,815(税込) | ベッツチョイス | アメリカ | 01005913 | 4541851005913 | 乾燥チキン、とうもろこし、米... |
Runbook
How to scrape Kojima product details to CSV
Import the Kojima template
Open the Kojima Pet Supplies Details Scraper template, download the JSON, and import it into UScraper.
Inspect the six seed records
Open Navigate and review the bundled item numbers. Keep them for the preview-backed validation run before editing inputs.
Check the preparation logic
Review Inject JavaScript so you understand where title, price, JAN, ingredients, page URL, and image URL values are prepared.
Set the export folder
In Structured Export, confirm the file name, headers, append mode, and a project-specific save location.
Run one validation pass
Run the bundled records, open the CSV, and verify Japanese text encoding, JAN codes, price strings, and URL columns.
Extend carefully
If you add live Kojima inputs, add one product at a time, retest access, and stop if detail pages redirect, fail certificate checks, or return unexpected content.
Because the workflow uses append mode, delete or rename old test exports before a production run. Otherwise, new rows will be added beneath the previous file contents.
Quality control
Validate the Kojima CSV before you scale
Open the CSV immediately after the first run. The key checks are not complicated: Japanese text should be readable, one item should create one row, the JAN code should match the item number family you expected, and the page and image URL columns should be usable for review.
| Symptom | Likely cause | Fix |
|---|---|---|
| Japanese text is garbled | Spreadsheet opened the CSV with the wrong encoding | Reopen as UTF-8 or import through the spreadsheet data import flow. |
| Sale price is blank | The workflow did not populate セール価格 for that product | Treat the field as optional and keep regular price in 価格. |
| Duplicate rows | Append mode reused an old file or the same input ran twice | Start the next test with a clean CSV and dedupe by 申込番号 plus JANコード. |
| Page URL cannot be opened | Live Kojima detail path redirected or changed | Keep the row as an audit record and re-test the URL path before adding more items. |
| Image URL fails | Image path changed or the source asset is unavailable | Verify the item number and update the URL preparation logic if needed. |
Alternatives
UScraper vs Octoparse and Bright Data Kojima scraper options
Octoparse lists a Kojima pet supplies details template, and Bright Data positions Kojima scraping through hosted web scraper and product scraper products. Those routes can make sense when you want cloud execution, managed infrastructure, API-style delivery, scheduling, or a vendor-hosted scraping layer.
UScraper fits a different job: a visible local workflow, a CSV deliverable, and control over the export path. That makes it useful for catalog teams, ecommerce researchers, and operators who want to inspect the block graph before trusting the data.
| Option | Best for | Trade-off |
|---|---|---|
| UScraper local desktop app | Inspectable no-code CSV exports and small controlled runs | You own validation, pacing, and workflow maintenance. |
| Octoparse Kojima scraper template | Cloud-oriented no-code task setup | Vendor workflow and run environment may be outside your local machine. |
| Bright Data Kojima or product scraper | Hosted scale, APIs, and data infrastructure | Usually a better fit for developer or procurement-led data programs. |
| Custom Playwright or Python script | Full engineering control | Highest maintenance burden and more code review required. |
For adjacent workflows, browse the UScraper template library. For more tutorials and comparisons, see the UScraper blog.
FAQ
Common questions
Public product details can still be governed by Kojima site terms, robots directives, copyright, database rights, privacy rules, and local law. Review current policies, use modest volume, do not bypass access controls, and get legal review before using exported product data commercially.
Next step
Download the Kojima pet supplies details scraper
Use the Kojima Pet Supplies Details Scraper template as the download and import path. Run the bundled validation set first, confirm the CSV, then extend the workflow only after access, encoding, and field mapping are clear.

