[object Object]

← back to Rentv Licensed Targets

fix: CA DRE subdivider raw json.dumps; 459 CA developers loaded

60ac06cf1628bf438b88ff5f54c6092913fdaff4 · 2026-07-31 06:52:54 -0700 · Steve

Files touched

Diff

commit 60ac06cf1628bf438b88ff5f54c6092913fdaff4
Author: Steve <steve@designerwallcoverings.com>
Date:   Fri Jul 31 06:52:54 2026 -0700

    fix: CA DRE subdivider raw json.dumps; 459 CA developers loaded
---
 scrapers/ca_dre_subdivider.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/scrapers/ca_dre_subdivider.py b/scrapers/ca_dre_subdivider.py
index f39c052..cfe2de3 100644
--- a/scrapers/ca_dre_subdivider.py
+++ b/scrapers/ca_dre_subdivider.py
@@ -1,7 +1,7 @@
 #!/usr/bin/env python3
 # CA DRE New Subdivision Filing List (.xls) → CSV for realestate.rentv_licensed_targets (role=Developer).
 # Subdivider = the developer. Feed-first, no auth. Filters SoCal counties, dedups by subdivider.
-import urllib.request, csv, sys, io, hashlib
+import urllib.request, csv, sys, io, hashlib, json
 import xlrd
 
 SOCAL = {'LOS ANGELES':'Greater LA','ORANGE':'Orange County','RIVERSIDE':'Inland Empire',
@@ -57,7 +57,7 @@ for yy, mm in months():
             g('subtype') or 'Subdivision', 'Filed',
             g('addr1'), g('city'), county.title(), g('state') or 'CA', g('zip'), g('phone'), '',
             SOCAL[county], 't', 't', url,
-            f'{{"tract":"{g("tract")}","subdivision":"{g("subname")}"}}'.replace('\\','')
+            json.dumps({"tract": g('tract'), "subdivision": g('subname')})
         ])
 
 w = csv.writer(open('/tmp/cadre_dev.csv', 'w', newline=''))

← 9beee1a scraper: CA DRE subdivider -> CA developers  ·  back to Rentv Licensed Targets  ·  auto-data-snapshot: 2026-08-06T14:29:57 (1 data files) — dat cd9b7e6 →