Switching Reddit scrapers on Apify without rewriting your input
If you run Reddit Scraper Lite (trudax/reddit-scraper-lite) from a saved task, an n8n or Make workflow, or your own script, you can point the same input at memo23/reddit-scraper and it runs. This page lists which fields carry over, which are ignored, and the few places where the output differs, so you can test the switch in five minutes.
The short version
- Copy the input JSON of your current task.
- Open memo23/reddit-scraper, switch the input to JSON, paste, and set a small limit such as
"maxPostCount": 5. - Run it and compare one post row and one comment row with your old output, using the table of differences below.
- Change the Actor ID in your workflow or script. Nothing else has to move.
An input that runs on both
This is the input I used for the test. It returned 4 posts and 15 comments, 5 per post.
{
"startUrls": [{ "url": "https://www.reddit.com/r/Cooking/" }],
"sort": "hot",
"searchPosts": true,
"skipComments": false,
"maxPostCount": 4,
"maxComments": 5,
"maxItems": 30
}
Input fields that carry over
| Your field | What happens |
|---|---|
startUrls | Read as Reddit links: subreddits, posts, comments, profiles and search pages. |
searches | Each entry runs as a keyword search. |
searchCommunityName | Limits the search to that subreddit. |
sort, time | Sort order and time range. |
searchComments, searchCommunities, searchUsers | Same names, same meaning. |
maxPostCount | Posts per link or keyword. |
skipComments | false collects comments, true leaves them out. |
maxComments | Comments per post, when skipComments is in the input. |
maxCommunitiesCount, maxUserCount | Caps for community and user search. |
includeNSFW | Includes NSFW posts. |
postDateLimit, commentDateLimit | Only posts or comments newer than that date. |
ignoreStartUrls | true skips the links and runs only the searches. |
Fields that are ignored
proxy, scrollTimeout, navigationTimeout, debugMode, sessionToken, includeMediaLinks, skipUserPosts and skipCommunity are accepted and have no effect. You do not need a proxy setting or a session token; leave them in or take them out.
What differs
| Where | Reddit Scraper Lite | memo23/reddit-scraper |
|---|---|---|
maxItems | Counts every row | Counts posts. Comments are capped per post by maxComments. |
Post id | t3_abc123 | abc123. The prefixed form is in reddit_fullname; parsedId is the same on both. |
Comment id, postId, parentId | Prefixed | Prefixed, the same. |
html on a comment | Reddit's rendered markup | The comment text as plain paragraphs. Links and formatting stay as Markdown, the same as in body. |
The other fields a workflow usually reads are there under the names you already use: dataType, url, username, userId, title, body, communityName, parsedCommunityName, numberOfComments, upVotes, upVoteRatio, category, numberOfReplies, flair, over18, isAd, thumbnailUrl, imageUrls, videoUrls, createdAt and scrapedAt.
id with the t3_ prefix, switch that step to reddit_fullname. That is the one change most setups need.What you get that you did not have
- Comment trees you can rebuild. Every comment carries
depthandcommentPathnext toparentId. - Post filters before billing. Score, comment count, post type, keywords, flair, author and domain filters run before a row is written, so filtered posts are not charged.
- Only new posts on a schedule.
onlyNewPostsskips everything earlier runs returned. - Runs that stop cleanly. At the run timeout or your spending limit, the run keeps what it collected and ends as succeeded, with the reason in the status message.
- Table views. The Output tab shows posts, comment threads and AI analysis as separate tables.
In n8n, Make or a script
- n8n and Make: open the Apify step, change the Actor to
memo23/reddit-scraper, keep the input JSON. Dataset steps after it stay as they are. - API: replace the Actor ID in the run URL:
https://api.apify.com/v2/acts/memo23~reddit-scraper/runs. The request body is your existing input. - Ready-made n8n workflow: reddit-brand-monitor.json searches Reddit for your keywords every morning and passes on only the posts it has not returned before. In n8n choose Import from File, add your Apify token as a Header Auth credential and set your keywords.
- Saved tasks: create a task on the new Actor and paste the input in JSON mode.
Price
$0.50 per 1,000 rows plus a small start fee per run. The current rates are on the Pricing tab.
If something does not match
Open an issue on the Actor's Issues tab with the run link and the field that differs, or write to muhamed.didovic@gmail.com. Field-name gaps are usually fixed within a day.