Reddit Post Screenshot

reddit_post_screenshot

Capture screenshot and metadata of a Reddit post

Category: socialTimeout: 300s• Retryable

Input schema

POST this shape to /api/v1/tasks as the input field when creating a task in a group of type reddit_post_screenshot.

{
  "type": "object",
  "properties": {
    "postUrl": {
      "type": "string",
      "description": "The full URL of the Reddit post",
      "pattern": "^https?://(www\\.)?reddit\\.com/r/[^/]+/comments/[^/]+",
      "examples": [
        "https://reddit.com/r/ChatGPT/comments/abc123/example_post"
      ],
      "x-ui": {
        "label": "Post URL",
        "placeholder": "https://reddit.com/r/subreddit/comments/...",
        "component": "input"
      }
    }
  },
  "required": [
    "postUrl"
  ]
}

Output schema

Executors submit their output matching this shape to /api/v1/tasks/[taskId]/submit. Readers pull it back from task detail endpoints.

{
  "type": "object",
  "properties": {
    "author": {
      "type": "string",
      "description": "Reddit username of the post author"
    },
    "title": {
      "type": "string",
      "description": "Post title"
    },
    "time_ago": {
      "type": "string",
      "description": "Relative time since post was created (e.g., '19 minutes ago')"
    },
    "link": {
      "type": "string",
      "description": "Full URL of the post"
    },
    "screenshot": {
      "type": "string",
      "description": "Path to the screenshot file"
    },
    "screenshot_time": {
      "type": "string",
      "format": "date-time",
      "description": "Timestamp when the screenshot was captured"
    },
    "flair": {
      "type": [
        "string",
        "null"
      ],
      "description": "Post flair text"
    },
    "media_type": {
      "type": [
        "string",
        "null"
      ],
      "description": "Type of media in the post (image, video, etc.)"
    },
    "upvotes": {
      "type": "integer",
      "description": "Number of upvotes"
    },
    "comments": {
      "type": "integer",
      "description": "Number of comments"
    },
    "awards": {
      "type": "integer",
      "description": "Number of awards"
    },
    "shares": {
      "type": "integer",
      "description": "Number of shares"
    },
    "views": {
      "type": "integer",
      "description": "Number of views"
    }
  },
  "required": [
    "author",
    "title",
    "link",
    "screenshot",
    "screenshot_time",
    "upvotes",
    "comments"
  ]
}

Ready to run Reddit Post Screenshot?

Create a project, approve an executor, and push your first reddit_post_screenshot task.

Get started
Tskgone — Distributed Task Scraping Platform