post: drop the comma before and in the six months series
All checks were successful
Deploy to OVH VPS / deploy (push) Successful in 1m3s

This commit is contained in:
Lorenzo Iovino 2026-09-29 00:20:28 +02:00
parent 015f4b0127
commit 5490f62b05
5 changed files with 12 additions and 12 deletions

View file

@ -15,7 +15,7 @@ Short answer: one vendor at a time. 😅
The first scraper was for one vendor platform. Easy. Then I added a second town and it was on a different platform. Then a third one.
At some point I stopped counting towns and started counting **vendors**. Today there are about **100** of them in the codebase, and each one has a personality:
At some point I stopped counting towns and started counting **vendors**. Today there are about **100** of them in the codebase. Each one has a personality:
- old Java server pages with a hidden "ViewState" that you must send back exactly as you received it, or nothing works
- sites that only work inside a real browser, so the crawler drives a headless Chromium
@ -52,7 +52,7 @@ The notice board gives you a title and a PDF. The interesting part is inside the
So the pipeline got longer:
1. download the PDF (4.6 million so far)
2. extract the text, with OCR when it's a scan, and it's a scan more often than you think
2. extract the text, with OCR when it's a scan (and it's a scan more often than you think)
3. pull out the fields: amounts, suppliers, dates, offices
For step 3 I started with a local model with Ollama, then moved to cheaper hosted models. Then I learned the boring lesson: you can do **a lot** with regex before calling any model. A spending approval in Italian has a very recognizable shape. The LLM is for what the regex can't read, not for everything.
@ -65,7 +65,7 @@ These acts are full of personal data. Names, addresses, health situations of peo
The law says they must stay public for 15 days. That doesn't mean "republish forever on a search engine".
<br/>
So nothing goes online before a privacy filter checks it, and whole categories of acts are never shown at all. Crawling everything is fine. Showing everything is not.
So nothing goes online before a privacy filter checks it. Whole categories of acts are never shown at all. Crawling everything is fine. Showing everything is not.
## What I learned