Structured Data Fixer — repair messy JSON, CSV & text avatar

Structured Data Fixer — repair messy JSON, CSV & text

Under maintenance

Pricing

Pay per usage

Go to Apify Store
Structured Data Fixer — repair messy JSON, CSV & text

Structured Data Fixer — repair messy JSON, CSV & text

Under maintenance

Paste broken JSON, messy CSV or raw text. Get clean, typed output plus a list of what was fixed and what was guessed. Deterministic rules, no LLM, no API keys.

Pricing

Pay per usage

Rating

0.0

(0)

Developer

Tang

Tang

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

0

Monthly active users

12 days ago

Last modified

Features

Limited permissions

Share

Web to JSON

Minimal Apify Actor: fetch one or more web pages and store a structured JSON record per page.

  • Input: startUrls (array of http/https URLs), maxPages (default 3, max 50), outputMode (text | html, kept for compatibility)
  • Output (one dataset record per page):
{
"url": "https://example.com/",
"title": "Example Domain",
"text": "Example Domain This domain is for use in documentation examples ...",
"html": "<!doctype html><html lang=en>...</html>",
"fetchedAt": "2026-11-11T07:10:05.101Z",
"outputMode": "text",
"statusCode": 200
}

Example input

{
"startUrls": ["https://example.com/"],
"maxPages": 3,
"outputMode": "text"
}

Local run (no Apify CLI needed)

npm install
mkdir -p storage/key_value_stores/default
echo '{"startUrls":["https://example.com/"],"maxPages":3,"outputMode":"text"}' > storage/key_value_stores/default/INPUT.json
node src/main.js
# results: storage/datasets/default/*.json

With Apify CLI: apify run (reads input from storage/key_value_stores/default/INPUT.json).

Files

FilePurpose
src/main.jsActor code (apify SDK + node:http/https, no extra scraping deps)
input_schema.jsonActor input schema
.actor/actor.jsonActor definition for Apify platform
package.jsonOnly dependency: apify

Limitations

  • No JavaScript rendering — only the initial HTML is fetched (SPAs returned as shell HTML).
  • No link following — exactly the URLs you pass, capped by maxPages.
  • 30 s timeout per page; on failure the record is still pushed with statusCode: 0 and error.
  • Respect the target site's robots.txt / terms; do not scrape personal or paywalled data.

Local run result (example.com)

exit=0; dataset record contains url / title / text / html / fetchedAt (see logs/run-example.log, logs/run-example.png).

Notes

  • Uses Actor.init() + Actor.exit() instead of Actor.main() because Node 24 + Windows crashes on Actor.main() exit (libuv assertion). Functionally identical.
  • Uses node:http/https rather than fetch for the same reason (undici keep-alive handles crash on process exit).

Example output (real run)

{
"url": "https://example.com",
"title": "Example Domain",
"text": "...171 characters of cleaned text...",
"html": "<!doctype html>...",
"statusCode": 200,
"fetchedAt": "2026-11-10T23:38:11.785Z",
"outputMode": "text"
}