CoolFace
Datasetpublic

Rabornkraken/xhs-travel-photos

XHS Travel Photos Travel photography from Xiaohongshu (Little Red Book) across 19 destinations in China and Southeast Asia. Dataset Summary Metric Count Notes 2,882 Images 28,005 Total size 7.3 GB Keyword folders 19 Destinations Folder Notes bali 190 cambodia_angkor 200 chengdu 20 chiang_mai 213 chongqing 194 guilin 225 hainan_sanya 212 indonesia 215 laos 209 malaysia 198 myanmar 122 philippines… See the full description on the dataset page: https://huggingface.co/datasets/Rabornkraken/xhs-travel-photos.

sourceHugging Facecc-by-nc-4.0updated 7mo agoView on Hugging Face
0likes2.2kdownloads
Dataset Card

XHS Travel Photos

Travel photography from Xiaohongshu (Little Red Book) across 19 destinations in China and Southeast Asia.

Dataset Summary

MetricCount
Notes2,882
Images28,005
Total size7.3 GB
Keyword folders19

Destinations

FolderNotes
bali190
cambodia_angkor200
chengdu20
chiang_mai213
chongqing194
guilin225
hainan_sanya212
indonesia215
laos209
malaysia198
myanmar122
philippines210
singapore51
thailand115
tibet231
vietnam20
xinjiang20
xishuangbanna20
yunnan217

Files

  • —`notes.jsonl` — One row per note (post metadata, engagement counts, tags)
  • —`images.jsonl` — One row per image (dimensions, file size, HF URL, source URL)
  • —`{folder}/{note_id}/{N}.jpg` — Image files organized by destination and note

Loading

python
import json

# Load notes
notes = [json.loads(line) for line in open("notes.jsonl")]

# Load images
images = [json.loads(line) for line in open("images.jsonl")]

# Filter by destination
bali_notes = [n for n in notes if n["keyword_folder"] == "bali"]

Fields

notes.jsonl

FieldTypeDescription
note_idstringXHS note ID (primary key)
titlestringPost title
descriptionstringFull post text
note_urlstringOriginal XHS URL
source_keywordstringSearch query used to find this note
keyword_folderstringDestination folder name
tagsstring[]Hashtags
user_idstringAuthor's XHS user ID
user_nicknamestringAuthor's display name
liked_countintLikes
collected_countintSaves/bookmarks
comment_countintComments
share_countintShares
posted_atstringISO-8601 post date
total_imagesintNumber of images in the note

images.jsonl

FieldTypeDescription
note_idstringParent note ID
image_indexint0-based position within the note
filenamestringe.g. "0.jpg"
hf_urlstringDirect HuggingFace URL
hf_pathstringPath within this repo
widthintPixel width
heightintPixel height
filesizebytesintFile size
Rabornkraken/xhs-travel-photos · CoolFace