Skip to content

Commit 9dd8a2b

Browse files
committed
Update readme
1 parent 291aeb1 commit 9dd8a2b

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

README.MD

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ This is a Python scraper that extracts Chilean postal codes from [correos.cl](ht
99
- Fully automated browser-based scraping (headless by default)
1010
- Robust autocomplete handling for commune and street
1111
- Input verification for all fields
12+
- Input normalization: supports uppercase/lowercase, tildes, and special characters
1213
- JSON output:
1314
- On success: `{ "postalCode": "8260323" }`
1415
- On error: `{ "error": "..." }`
@@ -22,6 +23,7 @@ This is a Python scraper that extracts Chilean postal codes from [correos.cl](ht
2223

2324
```bash
2425
pip install -r requirements.txt
26+
playwright install
2527
```
2628

2729
### 2. Run the scraper
@@ -58,6 +60,7 @@ python index.py "LA FLORIDA" "LAS ACACIAS" "7700"
5860

5961
- This scraper uses `Playwright` under the hood.
6062
- Form fields require autocomplete selection; manual filling is not enough.
63+
- Input values are normalized to match Correos' expected format (e.g. `Peñalolén``PENALOLEN`)
6164
- Timeout is set to 20s by default per operation.
6265

6366
---

0 commit comments

Comments
 (0)