Problem
A single snapshot of a product page says little. To see which direct-to-consumer brands are slipping, you need the same data — price, rating, reviews — tracked over time and turned into comparable signals.
What I built
A longitudinal, self-scraped analytics pipeline across 6 Indian D2C skincare brands (12 SKUs).
- An ETL pipeline that scrapes price, rating and 222+ reviews using Selenium (plain HTTP requests are blocked by TLS-fingerprint bot detection), respecting robots.txt.
- A normalised 4-table PostgreSQL schema with idempotent, de-duplicating loads, so every weekly scrape adds dated rows instead of overwriting.
- Review sentiment scored with VADER.
- A predictive framework using regression analysis (SciPy) to forecast brand-vulnerability trends, combined into a Brand Vulnerability Score.
- A 2-page Power BI dashboard connected live through SQL views, surfacing price-vs-rating mismatches and sentiment trends.
Architecture
Selenium scrapers → CSV → PostgreSQL (brands, products, snapshots, reviews) → VADER sentiment → SciPy trend regression → SQL views → Power BI.
Results
A weekly-updating dataset with KPIs for price versus category average, sentiment by brand, top complaint keywords, rating trend slope and review velocity.
Tech stack
- Scraping: Python, Selenium, BeautifulSoup
- Storage: PostgreSQL (normalised 4-table schema, SQL views)
- Analysis: pandas, VADER sentiment, SciPy regression
- Reporting: Power BI


