Understand the catalog.json data structure
masterThe catalog.json file provides a paginated overview of threads on a specific board. The root of the JSON is an array of page objects. Each page object contains a page number and a threads array containing the thread data for that page.
Structure Hierarchy:
- Root (Array)
- Page Object
page: Integer representing the page number.threads: Array of thread objects.- Thread Object
- Contains thread metadata (ID, subject, content, images).
last_replies: Array of recent reply objects.last_modified: Timestamp of the last update.
- Thread Object
- Page Object
[
{
"page": 1,
"threads": [
{
"no": 570368,
"name": "Anonymous",
"com": "Thread content...",
"last_replies": [
{
"no": 570371,
"name": "Anonymous",
"com": "Reply content..."
}
]
}
]
}
]