Large-scale web scraping, compliance, and AI tools
Humbl.ai · Founding engineer (Data & AI)
Built the data collection architecture, automated compliance checks, CLIP/FAISS logo detection, and LLM tools for an iGaming market-intelligence platform.
Client work under NDA. High-level architecture shared here.
Context
Humbl.ai tracks search rankings, affiliate offers, and brand compliance across 80+ markets. I joined the founding engineering team in 2022 and worked on the Django backend, scraping infrastructure, computer vision pipelines, and LLM integrations for four years.
Problem
We needed to collect data daily from thousands of websites across 80+ countries. Many sites used Cloudflare, geo-blocks, or changed their HTML layout often. Manual compliance checks and brand matching also took too much time.
What I built
Scraping architecture across 80+ markets
Set up a Scrapy architecture with a master spider, per-site settings, country-matched residential proxies, and Playwright/Camoufox browsers for bot-protected pages. GitHub Actions CI automatically ran any spider modified in a pull request.
LLM offer extraction
For sites that changed layout frequently, I built an extractor that cleans the HTML, pulls structured offer data into Pydantic schemas via OpenRouter at temperature zero, and maps brand aliases with a JSON rules engine.
Logo detection with OpenCLIP and FAISS
Built a computer vision service where OpenCV finds candidate tiles, OpenCLIP embeds each crop, and FAISS searches against a catalog of 49,627 game logo images across five country indexes.
Automated compliance & AI agent tools
Built 8 automated compliance checks combining rules, LLM text review, and YOLO logo detection on screenshots. Also worked on a games analytics agent using native tool calling and a read-only MCP server with 7 tools for Claude and Cursor.
Decisions & tradeoffs
01
One spider per site
Instead of one complex spider for everything, each site had its own small file inheriting from a master spider. When a site changed its layout, fixing it was a single-file update tested by CI.
02
Rules first, LLM second
Standard parsers handled stable sites. The LLM extractor only ran on messy pages after stripping unnecessary HTML, which kept token costs low.
03
Clear reasons for compliance scores
Every compliance check returned a score and a plain-text reason. Clients could see why a page failed instead of guessing at a black-box number.
Results
- 80+
- country markets
- 49,627
- indexed logo images
- 8
- compliance checks
- 4 yrs
- on the team
In hindsight
If I built this again from scratch, I would put the brand taxonomy into a dedicated service earlier instead of managing it through CSV imports and code.
Stack & links
Next case study
Hybrid RAG search and chat over 233 essays