# Fragrantica News & Comments Datasets — Technical Specification
**Snapshot date:** 2026-05-05
**Source:** `fragrantica.com` and 22 localized domains (`fragrantica.de`, `fragrantica.ru`, etc.)
**Format:** Apache Parquet (Zstandard compression)
**Total combined size:** ~1.36 GB on disk
This document specifies three datasets that complement the existing
Fragrantica perfume database (`merged_database`, `brands_database_v2`,
`perfumers_database_v2`, `notes_database_v2` — already documented and sold
separately):
1. **`comments.parquet`** — user reviews on individual perfumes
2. **`news.parquet`** — editorial articles published on Fragrantica
3. **`news_comments.parquet`** — user comments under those articles
The cross-dataset relationships in §5 explain how to join these with the
existing perfume/brand/perfumer DBs via primary keys.
---
## 1. Overview
| Dataset | Rows | Compressed Size | Distinct entities |
|---|---:|---:|---:|
| `comments.parquet` | 4,643,851 | 1.23 GB | 93,305 perfumes, 23 languages |
| `news.parquet` | 24,440 articles | 101 MB | NID 1..25000 |
| `news_comments.parquet` | 263,798 | 33 MB | 21,820 articles with comments |
All three datasets share the same identifier conventions used by the
existing perfume/brand/perfumer databases:
- **PID** (`int32`) — unique perfume identifier; matches `merged_database.PID`.
- **NID** (`int32`) — unique news article identifier (1..25000 range).
- **lang** (`string`) — ISO 639-1 language code identifying which Fragrantica
domain the content was sourced from. Each domain hosts independent
user-generated content (reviews are not translations of one another).
---
## 2. Dataset 1: `comments.parquet`
User-written reviews of individual perfumes, scraped across 23 localized
Fragrantica domains. Each comment is a unique user review, not a translation
or syndication.
### 2.1 Schema (8 fields)
| # | Field | Type | NULL? | Description |
|---:|---|---|---|---|
| 1 | `pid` | `int32` | NO | Foreign key → `merged_database.PID`. Identifies the perfume being reviewed. |
| 2 | `lang` | `string` | NO | Domain language (`en`, `ru`, `de`, …). 23 distinct values. |
| 3 | `comment_id` | `string` | NO | Globally unique deterministic ID, format `{pid}_{lang}_{12hex}` where `12hex` is the first 12 hexadecimal characters of `sha1(author + "|" + date + "|" + text)`. Stable across re-scrapes. |
| 4 | `author` | `string` | NO | Username as displayed on Fragrantica. May contain Unicode (e.g. `Сергей`, `José`). |
| 5 | `date` | `string` | NO | Date published as it appears on the page. Most rows: `MM/DD/YY HH:MM` (e.g., `04/11/26 10:05`). Always present. |
| 6 | `text` | `large_string` (64-bit offsets) | NO | Review body. UTF-8, no HTML tags, paragraph breaks via `\n`. May contain emoji. Length range observed: 1 char (emoji-only) to ~120 KB. |
| 7 | `avatar_url` | `string` | NO | Full URL to the user's avatar image hosted on Fragrantica's CDN. Verified ~100% reachable. |
| 8 | `gradient_class` | `string` | NO | Fragrantica's CSS class for the user's color badge (e.g., `tw-gradient-rose`). 7 distinct values observed (`tw-gradient-amber`/`emerald`/`orange`/`rose`/`sky`/`teal`/`violet`). Useful for UI consistency if displaying. |
### 2.2 Volumetrics
- **Total rows:** 4,643,851
- **Distinct PIDs covered:** 93,305 (70.6% of the 132,160 perfumes in `merged_database`; remaining 38,855 perfumes have zero reviews — verified against Fragrantica's `reviews_count` field)
- **PID range:** 1 — 130,121
- **Languages:** 23 (full list in §2.3)
### 2.3 Language distribution
| Lang | Code | Comments | Distinct PIDs |
|---|---|---:|---:|
| English | `en` | 1,690,055 | 78,715 (60% of perfumes) |
| Russian | `ru` | 889,893 | 52,650 |
| Portuguese (Brazilian) | `pt` | 247,511 | 21,258 |
| Spanish | `es` | 226,451 | 26,586 |
| Korean | `ko` | 214,674 | 11,696 |
| Turkish | `tr` | 191,945 | 11,722 |
| Japanese | `ja` | 186,836 | 10,767 |
| Polish | `pl` | 141,242 | 25,350 |
| Italian | `it` | 115,972 | 22,100 |
| Hungarian | `hu` | 109,204 | 11,565 |
| Serbian | `sr` | 108,945 | 15,048 |
| Swedish | `sv` | 107,666 | 11,155 |
| German | `de` | 100,218 | 15,505 |
| Hebrew | `he` | 81,981 | 10,165 |
| Ukrainian | `uk` | 50,203 | 15,917 |
| French | `fr` | 42,256 | 13,379 |
| Arabic | `ar` | 33,077 | 9,071 |
| Greek | `el` | 28,208 | 8,512 |
| Czech | `cs` | 24,269 | 3,424 |
| Chinese (Simplified) | `zh` | 15,843 | 4,466 |
| Romanian | `ro` | 13,906 | 6,451 |
| Mongolian | `mn` | 12,100 | 2,056 |
| Dutch | `nl` | 11,396 | 5,045 |
Each `lang` represents an independent set of user reviews from the
corresponding national Fragrantica domain. A user reviewing the same
perfume on `fragrantica.com` (en) and `fragrantica.ru` (ru) would write
two distinct reviews; both are included.
### 2.4 ID generation
`comment_id` is content-derived (sha1-based), giving three properties:
- **Globally unique** across all 4.6M rows (verified post-rewrite, 0 collisions).
- **Stable across re-scrapes**: re-fetching the same comment yields the same
ID. Useful for incremental updates and joining with downstream tables.
- **Idempotent dedup key**: `(nid, comment_id)` and `comment_id` alone are
both safe primary keys.
---
## 3. Dataset 2: `news.parquet`
Editorial articles from `fragrantica.com/news/` (English-only). Covers the
entire archive 2008-2026 (NID 1..25000), including both archived legacy
articles and modern editorial content.
### 3.1 Schema (16 fields)
| # | Field | Type | NULL? | Description |
|---:|---|---|---|---|
| 1 | `nid` | `int32` | NO | News article ID. Range 1..25000. |
| 2 | `title` | `string` | NO | Article title. Plain text, HTML entities decoded. |
| 3 | `category` | `string` | NO | Editorial category (e.g., `New Fragrances`, `Fragrance Reviews`, `Interviews`). 30+ distinct values. Top 10 in §3.4. |
| 4 | `author` | `string` | YES | Comma-separated list of author names (multi-author articles common). |
| 5 | `description` | `string` | YES | Short summary from ``. Plain text. |
| 6 | `text` | `string` | NO | Full article body. Plain text, paragraph breaks via `\n`. Footer/byline blocks stripped. UTF-8. |
| 7 | `text_html` | `string` | NO | Article body **with original HTML preserved** — `
`, ``, `
`, embedded videos. Useful for rendering or DOM-aware downstream processing. |
| 8 | `main_image` | `string` | YES | URL to the article's primary image (Fragrantica CDN). Verified reachable. |
| 9 | `article_images` | `string` | NO | **JSON-encoded array** of all image URLs in the article body. Use `json.loads(field)` → `list[str]`. Empty array `'[]'` if none. |
| 10 | `url` | `string` | NO | Canonical article URL (e.g., `https://www.fragrantica.com/news/x-12345.html`). |
| 11 | `is_archived` | `bool` | NO | `True` if article is in Fragrantica's legacy/archived corpus (older HTML template, often missing publication date — see §3.5). |
| 12 | `related_pids` | `string` | NO | **JSON-encoded array** of PIDs (as decimal strings) referenced in the article. Foreign key → `merged_database.PID`. 0% orphan rate (FK-validated). |
| 13 | `related_brands` | `string` | NO | **JSON-encoded array** of brand names. Informational metadata; see §5.4 for canonical resolution. |
| 14 | `related_perfumers` | `string` | NO | **JSON-encoded array** of perfumer names with diacritics preserved (e.g., `François Demachy`, `Carlos Benaïm`). Informational; see §5.5. |
| 15 | `comments_count` | `int32` | NO | Count of comments in `news_comments.parquet` matching this NID. |
| 16 | `date_unix` | `int64` | NO | Publication time as Unix timestamp (seconds since epoch). `0` indicates the date is not extractable from the source HTML — see §3.5. |
### 3.2 Volumetrics
- **Total rows:** 24,440 articles
- **NID range:** 1 — 25,000 (560 NIDs missing — Fragrantica returns HTTP 301 redirect for these — represents truly deleted articles)
- **Archived:** 15,427 / 24,440 (63.1%)
- **Non-archived:** 9,013 / 24,440 (36.9%)
- **With publication date (`date_unix > 0`):** 13,687 (56.0%)
### 3.3 List-fields format note
Four fields hold lists: `article_images`, `related_pids`, `related_brands`,
`related_perfumers`. **All four are stored as JSON-encoded strings** for
consistency. Use:
```python
import json
images = json.loads(row['article_images']) # → list[str]
```
`related_pids` contains PID values as decimal strings (e.g., `'704'`, not
the int `704`). Cast as needed when joining.
### 3.4 Top categories
| Category | Articles | % |
|---|---:|---:|
| New Fragrances | 8,534 | 34.9% |
| Fragrance Reviews | 5,583 | 22.8% |
| Niche Perfumery | 2,537 | 10.4% |
| Art Books Events | 1,570 | 6.4% |
| Columns | 1,346 | 5.5% |
| Fragrant Horoscope | 851 | 3.5% |
| Fragrance News | 760 | 3.1% |
| Interviews | 682 | 2.8% |
| Vintages | 437 | 1.8% |
| Raw Materials | 384 | 1.6% |
Remaining 1,756 articles span 33 smaller categories.
### 3.5 Date coverage
`date_unix == 0` for 10,753 articles (44%). Distribution by NID range:
| NID range | Articles | with date | % | archived % |
|---|---:|---:|---:|---:|
| 1 — 5,000 | 4,888 | 2 | 0.0% | 100% |
| 5,001 — 10,000 | 4,799 | 0 | 0.0% | 100% |
| 10,001 — 15,000 | 4,890 | 3,822 | 78.2% | 100% |
| 15,001 — 20,000 | 4,900 | 4,900 | 100% | 17.3% |
| 20,001 — 25,000 | 4,963 | 4,963 | 100% | 0% |
The 10,753 articles without date come entirely from the archived legacy
template: 9,685 in NIDs 1–10,000 (effectively all of them) and 1,068 in
NIDs 10,001–15,000 (the remaining 22% of that range — the other 78% have
recoverable visible-text dates). Fragrantica's old archived HTML does not
embed any date marker (no `