2
Major Pakistani Agricultural Platforms Monitored
3
Dedicated Alert Types (Price Change, Quantity Change, Out of Stock)
100%
Complete Change History Preserved Per Product
The Problem

Agricultural Price Changes Can Cost Buyers Margin Before Anyone Has Noticed

In the Pakistani agricultural supply chain, price and stock changes on platforms like Kissanghar.pk can happen without notice — affecting procurement decisions, competitive pricing, and supply forecasting. Manually monitoring hundreds of product listings across two platforms was impractical, and no off-the-shelf monitoring tool handled Pakistan's agricultural e-commerce platforms. Buyers, distributors, and competitive intelligence teams needed automated, real-time visibility into price and stock changes without the overhead of custom browser automation — and they needed alerts delivered to the channels their teams already live in.
Our Solution

Stealth Browser Monitoring with Full Change History and Discord Alerting

We built two complementary versions of the monitoring platform, each targeting different operational needs. The Node.js watchlist monitor uses Puppeteer Extra with StealthPlugin — patching headless Chrome fingerprints to defeat Kissanghar's bot detection — to scrape a configurable product watchlist. SQLite stores the snapshot history in three tables (products, product_snapshots, changes), with a correlated subquery joining each product to its most recent snapshot for efficient change detection. The Django full-catalogue version uses async aiohttp to automatically discover and monitor every product on both platforms — including Syngenta's GraphQL API. BeautifulSoup parses product detail pages for title, price, and stock status. Both systems use field-level comparison against the previous snapshot to detect exactly which fields changed, then fire Discord webhook messages with old and new values per changed field to dedicated alert channels. A test mode in the Node.js version simulates random field changes to allow full end-to-end testing of the alert pipeline without waiting for actual price movements. An Express admin panel on port 3001 provides a web UI for bulk product URL import, monitoring toggle, deletion, and per-product change history views.
Architecture
Node.js monitor: Node.js + Express + SQLite. Puppeteer Extra with StealthPlugin for headless Chrome scraping. EJS admin panel templates. Discord webhook alerting. Django monitor: Django + PostgreSQL. aiohttp async HTTP scraping. BeautifulSoup HTML parsing. GraphQL client for Syngenta API. Discord webhook alerting with separate channels per change type.
The Result

Instant Price Intelligence Across Pakistani Agricultural Markets — Zero Manual Effort

Farming Product Monitor gave agricultural buyers and competitive intelligence teams immediate visibility into price and stock movements across the two most important online agricultural platforms in Pakistan — with zero manual monitoring effort required. The stealth scraping layer bypassed Kissanghar.pk's bot detection reliably, and the full-catalogue Django version extended coverage from a manual watchlist to automatic discovery and monitoring of every product on both platforms. Every scrape writes a complete immutable snapshot — enabling price trend analysis across any time window, not just the latest change. Discord alerts delivered change notifications instantly to the right channels as soon as any price, stock quantity, or availability status changed — with full before/after values in every alert message. The system turned what was previously a manual, hours-per-week monitoring task into a zero-overhead real-time intelligence feed.
Want scalable architecture and measurable results like this?
Book an Architecture Audit
Build Something Like This
// free scoping call · senior engineers · no commitment

Project scope, timelines, and architecture options in one 45-minute session.

Start a Project
More Work

Related Projects

The Marble Group: Natural Stone Inventory Intelligence Platform for UK Stone Buyers
Django Docker PostgreSQL
The Marble Group: Natural Stone Inventory Intelligence Platform for UK Stone Buyers
One dashboard for 10 UK stone suppliers — automated price reconciliation, real-time stock alerts, instant PDF/Excel export. Replace 15+ hours of manual supplier research every week.
View Details
Django Docker PostgreSQL
Global Freight Tracking API: Track 30+ Air & Sea Carriers — One Call, One Standard Response
One API call replaces 30+ carrier portal checks. Real-time AWB and container tracking from international air and sea carriers — standardised JSON response, including full audio CAPTCHA bypass.
View Details
SlateDesk: Film & TV Talent Submission Management — From Public Pitch Link to Structured Deal Pipeline
Django Material UI PostgreSQL
SlateDesk: Film & TV Talent Submission Management — From Public Pitch Link to Structured Deal Pipeline
Structured film and TV submission management for executives and reps. Public submission URLs, internal pipeline, meeting scheduling, contact management, and Stripe subscription tiers.
View Details