Skip to content
//Reddit Posts Scraper example\\

Newest posts in r/python, 10 posts

Full subreddit post listing.

Updated October 21, 2026

Input

The input this example runs Reddit Posts Scraper with. “Try this input” opens it in the console, where you can run it as-is or change any field first.

Full subreddit scrapesubredditUrls
r/python
Max posts per keyword / URLmaxPostsCount
10
Only posts that have a flaironlyWithFlair
No
Include NSFW (18+) contentincludeNSFW
No
Search for postssearchPosts
Yes
Search for commentssearchComments
No
Search for communitiessearchCommunities
No
Sort search results bysearchSort
New
Time rangesearchTime
All time
Max search / profile commentsmaxCommentsCount
5
Max communitiesmaxCommunitiesCount
2
Scrape comments for each postcrawlCommentsPerPost
No
Max comments per postmaxCommentsPerPost
5
.json
{
  "subredditUrls": [
    "r/python"
  ],
  "maxPostsCount": 10,
  "searchTerms": [],
  "onlyWithFlair": false,
  "includeNSFW": false,
  "searchPosts": true,
  "searchComments": false,
  "searchCommunities": false,
  "searchSort": "new",
  "searchTime": "all",
  "maxCommentsCount": 5,
  "maxCommunitiesCount": 2,
  "crawlCommentsPerPost": false,
  "maxCommentsPerPost": 5
}

The internet is full of data.
Start owning yours.

Scrape.ly gives you the infrastructure, the tooling, and the team to extract, process, and operationalize web data at any scale. Setup takes minutes. The advantage lasts forever.

No credit card. No setup calls.