Best Reddit Scraper avatar
Best Reddit Scraper
Deprecated
View all Actors
This Actor is deprecated

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

Best Reddit Scraper

adrian_horning/best-reddit-scraper

Scrape posts from a Subreddit or scrape comments from a post.

NI

cannot read the property

Closed

nilesh opened this issue
9 months ago

2023-12-23T11:08:51.723Z ACTOR: Pulling Docker image of build PoOssD7NSCutURipq from repository. 2023-12-23T11:08:52.300Z ACTOR: Creating Docker container. 2023-12-23T11:08:52.474Z ACTOR: Starting Docker container. 2023-12-23T11:08:57.455Z INFO System info {"apifyVersion":"3.1.13","apifyClientVersion":"2.8.4","crawleeVersion":"3.6.2","osType":"Linux","nodeVersion":"v16.20.2"} 2023-12-23T11:08:57.584Z input { 2023-12-23T11:08:57.586Z subRedditURL: ']8;;https://www.reddit.com/search/?q=indiaelection2023&type=link'\https://www.reddit.com/search/?q=indiaelection2023&type=link' 2023-12-23T11:08:57.587Z } 2023-12-23T11:08:57.588Z subRedditURL https://www.reddit.com/search/?q=indiaelection2023&type=link 2023-12-23T11:08:57.589Z redditPostURL undefined 2023-12-23T11:08:58.489Z error in getSubRedditPosts posts is not iterable (cannot read property undefined) 2023-12-23T11:08:58.519Z /usr/src/app/node_modules/ow/dist/index.js:36 2023-12-23T11:08:58.520Z (0, test_1.default)(value, labelOrPredicate, predicate); 2023-12-23T11:08:58.521Z ^ 2023-12-23T11:08:58.522Z 2023-12-23T11:08:58.523Z ArgumentError: Expected data to be of type object but received type undefined 2023-12-23T11:08:58.524Z at ow (/usr/src/app/node_modules/ow/dist/index.js:36:24) 2023-12-23T11:08:58.524Z at Dataset.pushData (/usr/src/app/node_modules/@crawlee/core/storages/dataset.js:199:26) 2023-12-23T11:08:58.525Z at Actor.pushData (/usr/src/app/node_modules/apify/actor.js:529:24) 2023-12-23T11:08:58.526Z at processTicksAndRejections (node:internal/process/task_queues:96:5) 2023-12-23T11:08:58.527Z at async file:///usr/src/app/src/main.js:296:3 { 2023-12-23T11:08:58.528Z validationErrors: Map(1) { 2023-12-23T11:08:58.529Z 'data' => Set(1) { 2023-12-23T11:08:58.529Z 'Expected data to be of type object but received type undefined' 2023-12-23T11:08:58.530Z } 2023-12-23T11:08:58.531Z } 2023-12-23T11:08:58.532Z }

adrian_horning avatar

Looks like the issue is you're entering a search url (https://www.reddit.com/search/?q=indiaelection2023&type=link%27\https://www.reddit.com/search/?q=indiaelection2023&type=link%27) This scraper only scrapes all comments in a post, or all post titles in a subreddit.

Developer
Maintained by Community
Categories