Extract Reddit comments and posts as JSON with configurable options
A Tampermonkey userscript that extracts Reddit comments and posts into a structured JSON format with configurable filters.
{
"metadata": {
"extractionDate": "2023-07-20T12:34:56.789Z",
"totalComments": 42,
"postTitle": "Sample Post Title",
"subreddit": "askscience",
"criteria": {
"minVotes": 5,
"maxDepth": 4
}
},
"post": {
"content": "Full post text...",
"author": "ScienceFan123"
},
"comments": [
{
"content": "Top-level comment...",
"depth": 0,
"votes": 123,
"username": "User123",
"date": "2023-07-19T15:30:00",
"profileUrl": "/user/User123",
"permalink": "/r/askscience/comments/12345/..."
}
]
}
Setting | Description | Default |
---|---|---|
Minimum Votes | Comments vote threshold | 1 |
Maximum Depth | Comment nesting limit | 4 |
MIT License - see LICENSE
Unofficial tool - Follow Reddit's API Rules