![Best Reddit Scraper avatar](https://images.apifyusercontent.com/Yu3nTXEs6g0f9KsErj3RmI5dx1Lc_Tg3v-jTduNIUvQ/rs:fill:250:250/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMuYW1hem9uYXdzLmNvbS95QzZ2UHBvM1hnVUF5emNITy91Mmtma2NXZlllVHZBR2Q2Mi1yZWRkaXQtbG9nby1yZWRkaXQtaWNvbi10cmFuc3BhcmVudC1mcmVlLXBuZy53ZWJw.webp)
This Actor is unavailable because the developer has decided to deprecate it. Would you like to try a similar Actor instead?
See alternative Actors![Best Reddit Scraper](https://images.apifyusercontent.com/Yu3nTXEs6g0f9KsErj3RmI5dx1Lc_Tg3v-jTduNIUvQ/rs:fill:250:250/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMuYW1hem9uYXdzLmNvbS95QzZ2UHBvM1hnVUF5emNITy91Mmtma2NXZlllVHZBR2Q2Mi1yZWRkaXQtbG9nby1yZWRkaXQtaWNvbi10cmFuc3BhcmVudC1mcmVlLXBuZy53ZWJw.webp)
Best Reddit Scraper
Scrape posts from a Subreddit or scrape comments from a post.
Error something went wrong
Closed
View full log
2023-12-23T11:05:59.372Z ACTOR: Pulling Docker image of build PoOssD7NSCutURipq from repository.
2023-12-23T11:05:59.469Z ACTOR: Creating Docker container.
2023-12-23T11:05:59.506Z ACTOR: Starting Docker container.
2023-12-23T11:06:01.063Z INFO System info {"apifyVersion":"3.1.13","apifyClientVersion":"2.8.4","crawleeVersion":"3.6.2","osType":"Linux","nodeVersion":"v16.20.2"}
2023-12-23T11:06:01.134Z input { redditPostURL: ']8;;https://www.reddit.com/search/?q=indiaelection2023'\https://www.reddit.com/search/?q=indiaelection2023'
2023-12-23T11:06:01.136Z subRedditURL undefined
2023-12-23T11:06:01.139Z redditPostURL https://www.reddit.com/search/?q=indiaelection2023
2023-12-23T11:06:01.141Z postId undefined
2023-12-23T11:06:03.630Z res 200
2023-12-23T11:06:04.095Z error in fetchPostComments invalid json response body at https://www.reddit.com/search/?q=indiaelection2023.json?depth=3&rdt=59593 reason: Unexpected token < in JSON at position 5
2023-12-23T11:06:04.098Z error in getAllPostComments Cannot read properties of undefined (reading '1')
2023-12-23T11:06:04.358Z /usr/src/app/node_modules/ow/dist/index.js:36
2023-12-23T11:06:04.361Z (0, test_1.default)(value, labelOrPredicate, predicate);
2023-12-23T11:06:04.363Z ^
2023-12-23T11:06:04.365Z
2023-12-23T11:06:04.367Z ArgumentError: Expected data
to be of type object
but received type undefined
2023-12-23T11:06:04.369Z at ow (/usr/src/app/node_modules/ow/dist/index.js:36:24)
2023-12-23T11:06:04.372Z at Dataset.pushData (/usr/src/app/node_modules/@crawlee/core/storages/dataset.js:199:26)
2023-12-23T11:06:04.374Z at Actor.pushData (/usr/src/app/node_modules/apify/actor.js:529:24)
2023-12-23T11:06:04.376Z at processTicksAndRejections (node:internal/process/task_queues:96:5)
2023-12-23T11:06:04.378Z at async file:///usr/src/app/src/main.js:291:3 {
2023-12-23T11:06:04.380Z validationErrors: Map(1) {
2023-12-23T11:06:04.382Z 'data' => Set(1) {
2023-12-23T11:06:04.384Z 'Expected data
to be of type object
but received type undefined
'
2023-12-23T11:06:04.387Z }
2023-12-23T11:06:04.389Z }
2023-12-23T11:06:04.391Z }