Sitemap-driven scraper for goldenharvestseeds.com. Walks sitemap-ghs-hybrids.xml for product URLs under /products/corn/ and /products/soybean/ (~89 + 86 = 175 candidates).
Per-variety data parsed from server-rendered HTML: identity from <h1> / <title> / <meta name="Description">; maturity from <div class="product-label"><div class="right"> (integer days for corn, decimal MG for soy); traits derived from product-code suffix (XF, E3, VIP3, GT, Z).
Ratings: disease tolerance (#dvDiseaseTolerance) + agronomic characteristics (#dvAgronomicChar) bar charts. Each data-percentage / 10 = rating on 1-9 (9 = best) scale — same direction as Bayer.
Recommended environments parsed from .AgronomicMange (upstream typo, not ours).
Tech-sheet PDF URL captured from live HTML (sitemap-listed dates are stale — recon was correct).
302 redirects → /<crop>/product-finder treated as "discontinued" and skipped.
Anti-hallucination notes
All values passed through verbatim. The chunker already preserves the source's _scale_direction field, so cross-vendor rating comparison can be done correctly.
The previously-feared "9-to-1 reversal" turned out to be GH's visual chart axis direction (9 on top, 1 on bottom), not the numeric meaning. Bayer and Golden Harvest both use the canonical 1-9 / 9-best convention. Note added in code comments.
Discontinued varieties skipped (GH00615E3, GH0116E3 — they 302 to product-finder).
Full scrape (~175 varieties, in progress) — pending in this session.
Coverage after merge
Corpus is rebuilt with Bayer + Golden Harvest combined: 475 + ~155 (after discontinued skips) = ~630 indexed varieties across 2 vendors / 4 brands / 3 crops.
## Summary
- Sitemap-driven scraper for `goldenharvestseeds.com`. Walks `sitemap-ghs-hybrids.xml` for product URLs under `/products/corn/` and `/products/soybean/` (~89 + 86 = 175 candidates).
- Per-variety data parsed from server-rendered HTML: identity from `<h1>` / `<title>` / `<meta name="Description">`; maturity from `<div class="product-label"><div class="right">` (integer days for corn, decimal MG for soy); traits derived from product-code suffix (XF, E3, VIP3, GT, Z).
- Ratings: disease tolerance (`#dvDiseaseTolerance`) + agronomic characteristics (`#dvAgronomicChar`) bar charts. Each `data-percentage / 10` = rating on 1-9 (9 = best) scale — same direction as Bayer.
- Recommended environments parsed from `.AgronomicMange` (upstream typo, not ours).
- Tech-sheet PDF URL captured from live HTML (sitemap-listed dates are stale — recon was correct).
- 302 redirects → `/<crop>/product-finder` treated as "discontinued" and skipped.
## Anti-hallucination notes
- All values passed through verbatim. The chunker already preserves the source's `_scale_direction` field, so cross-vendor rating comparison can be done correctly.
- The previously-feared "9-to-1 reversal" turned out to be GH's *visual chart axis direction* (9 on top, 1 on bottom), not the numeric meaning. Bayer and Golden Harvest both use the canonical 1-9 / 9-best convention. Note added in code comments.
## Test plan
- [x] Corn smoke test: 6 varieties scraped (E085Z5 RM 85, E092W5 RM 92, E094Z4 RM 94, E095D3 RM 95, E097K6 RM 97, E100A3 RM 100) with 6 characteristics groups each + tech-sheet URLs resolved.
- [x] Soy smoke test: GH00864XF / GH00973E3 / GH0225XF parsed with MG hero + trait codes + disease bars + Phytophthora gene + SCN race tables.
- [x] Discontinued varieties skipped (GH00615E3, GH0116E3 — they 302 to product-finder).
- [ ] Full scrape (~175 varieties, in progress) — pending in this session.
## Coverage after merge
- Corpus is rebuilt with Bayer + Golden Harvest combined: 475 + ~155 (after discontinued skips) = ~630 indexed varieties across 2 vendors / 4 brands / 3 crops.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Summary
goldenharvestseeds.com. Walkssitemap-ghs-hybrids.xmlfor product URLs under/products/corn/and/products/soybean/(~89 + 86 = 175 candidates).<h1>/<title>/<meta name="Description">; maturity from<div class="product-label"><div class="right">(integer days for corn, decimal MG for soy); traits derived from product-code suffix (XF, E3, VIP3, GT, Z).#dvDiseaseTolerance) + agronomic characteristics (#dvAgronomicChar) bar charts. Eachdata-percentage / 10= rating on 1-9 (9 = best) scale — same direction as Bayer..AgronomicMange(upstream typo, not ours)./<crop>/product-findertreated as "discontinued" and skipped.Anti-hallucination notes
_scale_directionfield, so cross-vendor rating comparison can be done correctly.Test plan
Coverage after merge