Reddit Thread & Comment Scraper avatar

Reddit Thread & Comment Scraper

Try for free

1 day trial then $9.99/month - No credit card required now

Go to Store
Reddit Thread & Comment Scraper

Reddit Thread & Comment Scraper

arlusm/reddit-scraper
Try for free

1 day trial then $9.99/month - No credit card required now

Also creates screenshots of the posts - useful for reddit to youtube automated video pipeline.

Reddit Thread Scraper

This scraper extracts the original post and top-level comments from a Reddit thread on reddit.com, including text and screenshots.

Input

Check the JSON example in the input tab.

Output

The output is an array of objects containing the extracted post and comments. Each object includes:

  • title: The title of the Reddit post.
  • text: The main content of the post.
  • screenshot: Filename of the post’s screenshot.
  • comments: An array of extracted top-level comments, each with:
    • text: The comment content.
    • commentId: The unique Reddit comment ID.
    • screenshot: Filename of the comment’s screenshot.

Example Output

1{
2  "title": "Girlfriend angry for?",
3  "text": "Currently on holiday for our 2 year anniv...?",
4  "screenshot": "reddit_original_post.png",
5  "comments": [
6    {
7      "text": "It's the sea...",
8      "commentId": "t1_lrjzs68",
9      "screenshot": "reddit_comment_1.png"
10    },
11    {
12      "text": "comment 2",
13      "commentId": "t1_lrk07hc",
14      "screenshot": "reddit_comment_2.png"
15    }
16  ]
17}

Usage

The scraper can be configured via Apify’s interface. Simply provide a Reddit thread URL, set the number of comments to extract, and optionally skip the first comment. The extracted data, along with screenshots, will be returned.

Developer
Maintained by Community

Actor Metrics

  • 1 monthly user

  • 0 No stars yet

  • Created in Feb 2025

  • Modified 14 hours ago