Harvest-Anything / Extraction Guides / Customs Tariffs & Heterogeneous RSS/Atom Feeds

Normalizing Legacy Latin-1/Windows-1252 RSS & Atom Feeds With Double-Escaped XML Entities

Repair ISO-8859-1/Windows-1252 byte mismatches, BOM prefixes, CDATA wrappers, and double-escaped entities (€) into valid UTF-8 JSON feeds automatically.

Mode (customs_feeds)$0.04 / hit
10% Cache Recheck$0.004
Fake-200 / 422 Charge$0.00
Verified Receipt Prefix2c3b13e2a2501b14

Why Existing Scrapers & Subscriptions Break Here

European customs bulletins and legacy government RSS 1.0/2.0 feeds routinely emit ISO-8859-1 or Windows-1252 bytes inside streams labeled UTF-8, crashing strict XML parsers.

Double-escaped entities like € or & leak ugly literal HTML codes into agent summaries and downstream databases.

Harvest-Anything normalizes encodings to clean UTF-8 (producing €75.36/tCO2e, Müller, São Paulo, München cleanly) and returns exact encoding_detected telemetry.

Built for News Ingestion, Regulatory Ops & Supply Chain Developers: Harvest-Anything runs purely on Python 3 standard library parsers with strict pre-fetch SSRF HTTP 422 blocking, composite anti-fake-200 interception, 7d-30d adaptive archive caching, and zero customer payload resale.

Verified Extraction Output Breakdown (Observed Receipt: 40000 micros)

Extracted Attribute Observed Value / Outcome Provenance / Line Ref Confidence
Raw vs Deduped Entries3 raw items -> 2 unique items (1 removed)SHA-256 GUID dedup0.99
Double-Entity Repair€75.36/tCO2e, São Paulo & MünchenClean UTF-8 output0.98
Timestamp Normalization2026-11-30T10:15:00Z & 2026-12-01T08:00:00ZRFC-822 to ISO-86010.97
Billed Amount$0.04 (40,000 micros)Live verified hit1.00

Pricing Benchmark vs Incumbents

Provider Pricing Model Verified Cost & Friction Harvest-Anything Advantage
Harvest-Anything Pay-per-verified-harvest (Creem $9/$29/$99/$299 packs, 0% treg hub commission) $0.04 live / $0.004 recheck; $0 on fake-200, empty, or 422 Deterministic JSON Schema, field confidence, 1-based line refs, Streamable MCP
Incumbent Benchmark Annual seats, monthly floors, or metered raw proxy GBs Trade compliance suites ($2,000-$4,000 setup + annual lock-in); raw RSS scrapers with no encoding repair Zero monthly minimum, zero sales gate, zero charge on soft-blocks

Run via HTTP REST (POST /harvest)

curl -sS -X POST https://harvest.fastmesh.dev/harvest \
  -H "Content-Type: application/json" \
  -d '{"url": "https://customs.example.eu/tariffs/updates.rss", "mode": "customs_feeds"}'

Run via Native Streamable MCP (POST /mcp)

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "harvest_extract",
    "arguments": {
      "url": "https://customs.example.eu/tariffs/updates.rss",
      "mode": "customs_feeds"
    }
  }
}

Run via Treg Hub (0% Seller Commission)

treg call harvest-anything --data '{"url": "https://customs.example.eu/tariffs/updates.rss", "mode": "customs_feeds"}'

Observed HarvestReceipt JSON Output

{
  "ok": true,
  "status_code": 200,
  "mode": "customs_feeds",
  "url": "https://customs.example.eu/tariffs/updates.rss",
  "extracted": {
    "feed_type": "rss",
    "feed_title": "Tariff & Duty Bulletins — Müller Customs",
    "encoding_detected": "utf-8",
    "entry_count": 2,
    "dedup_removed_count": 1,
    "entries": [
      {
        "id": "TAR-2026-01",
        "title": "HS 8541.43 Solar Cell Duty & CBAM Update",
        "link": null,
        "published_iso": "2026-11-30T10:15:00Z",
        "summary": "Rate adjusted to 50% (€75.36/tCO2e) for São Paulo & München ports.",
        "categories": [],
        "line": 1
      },
      {
        "id": "TAR-2026-02",
        "title": "HTS 8507.60 Non-EV Battery Section 301 Notice",
        "link": null,
        "published_iso": "2026-12-01T08:00:00Z",
        "summary": "Duty rate 25% effective immediately.",
        "categories": [],
        "line": 1
      }
    ]
  },
  "field_confidence": {
    "entries": 0.96,
    "encoding_normalization": 0.98,
    "dedup": 0.99
  },
  "source_line_refs": {
    "first_entry": {
      "line": 1,
      "end_line": 1,
      "snippet": "HS 8541.43 Solar Cell Duty & CBAM Update",
      "source_kind": "rss"
    }
  },
  "schema_valid": true,
  "cache_hit": false,
  "cache_tier": "live",
  "billed_micros": 40000,
  "zero_bill_reason": null,
  "sha256_receipt": "2c3b13e2a2501b14efdd0f4effe2923832f79f368911caf3f67bd262160714cf"
}

Frequently Asked Questions

How does customs_feeds handle double-escaped XML entities?

It performs bounded entity decoding so sequences like € resolve cleanly to € without corrupting valid UTF-8 characters.

Are RSS 1.0, RSS 2.0, and Atom 1.0 all supported?

Yes. The extractor detects RSS channels, Atom entries, and JSON tariff catalogs behind one unified interface.

What does an extraction cost if the XML is completely unparseable?

Parse failures strictly return billed_micros: 0 with a non-empty zero_bill_reason.

Try Now in 5 Seconds (No Signup) Browse All 22 Guides llms.txt OpenAPI 3.1