From 67883f17299791231a03d52bce3b3944eb4c9319 Mon Sep 17 00:00:00 2001 From: hoelee Date: Wed, 7 Jan 2026 09:00:00 +0800 Subject: [PATCH] docs(py-monitor): overview (part 2/2) --- platform/py-monitor/README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/platform/py-monitor/README.md b/platform/py-monitor/README.md index 3b4722d3..d5a31ceb 100644 --- a/platform/py-monitor/README.md +++ b/platform/py-monitor/README.md @@ -4,3 +4,11 @@ Stdlib-only primitives extracted from the Carousell new-listing monitor (`hoelee/carousell-monitor`), kept here because the same URL normalisation, price parsing and retry logic is needed by every scraper in the stack. +No third-party dependencies - `urllib` only, so it drops into any container +without a build step. + +```python +from monitor_core import normalize_product_url, parse_price, strip_thumbnail_suffix +``` + +Run the tests with `python -m pytest tests/ -q` (or `python tests/test_core.py`).