TikTok Ads Scraper
1 day trial then $30.00/month - No credit card required now
TikTok Ads Scraper
1 day trial then $30.00/month - No credit card required now
Find and scrape current and past ads on TikTok. Get video URL, dates and locations, impressions, and more. Download and analyze data from the TikTok Ads Library for competitive analysis.
2024-06-19T08:04:32.318Z ACTOR: Pulling Docker image of build VewBI1EMd8dJ5VLJI from repository. 2024-06-19T08:04:51.689Z ACTOR: Creating Docker container. 2024-06-19T08:04:51.851Z ACTOR: Starting Docker container. 2024-06-19T08:04:53.272Z yarn run v1.22.19 2024-06-19T08:04:53.298Z $ node dist/main.js --silent 2024-06-19T08:04:53.874Z INFO System info {"apifyVersion":"3.1.2","apifyClientVersion":"2.6.3","crawleeVersion":"3.3.0","osType":"Linux","nodeVersion":"v16.20.2"} 2024-06-19T08:04:54.448Z INFO CheerioCrawler: Status message: Crawled 0/1 pages, 0 errors. 2024-06-19T08:04:54.456Z INFO CheerioCrawler: Starting the crawl 2024-06-19T08:04:55.790Z WARN CheerioCrawler: Reclaiming failed request back to the list or queue. TypeError: Cannot read properties of undefined (reading 'map') 2024-06-19T08:04:55.796Z at handleSearch (/home/myuser/dist/routes.js:111:29) 2024-06-19T08:04:55.798Z at processTicksAndRejections (node:internal/process/task_queues:96:5) 2024-06-19T08:04:55.800Z at async /home/myuser/dist/routes.js:26:35 2024-06-19T08:04:55.804Z at async wrap (/home/myuser/node_modules/@apify/timeout/index.js:52:21) {"id":"CAfUFdsYJLvJW2V","url":"https://library.tiktok.com","retryCount":1} 2024-06-19T08:05:00.419Z WARN CheerioCrawler: Reclaiming failed request back to the list or queue. TypeError: Cannot read properties of undefined (reading 'map') 2024-06-19T08:05:00.421Z at handleSearch (/home/myuser/dist/routes.js:111:29) 2024-06-19T08:05:00.423Z at processTicksAndRejections (node:internal/process/task_queues:96:5) 2024-06-19T08:05:00.425Z at async /home/myuser/dist/routes.js:26:35 2024-06-19T08:05:00.426Z at async wrap (/home/myuser/node_modules/@apify/timeout/index.js:52:21) {"id":"CAfUFdsYJLvJW2V","url":"https://library.tiktok.com","retryCount":2} 2024-06-19T08:05:04.956Z WARN CheerioCrawler: Reclaiming failed request back to the list or queue. TypeError: Cannot read properties of undefined (reading 'map') 2024-06-19T08:05:04.959Z at handleSearch (/home/myuser/dist/routes.js:111:29) 2024-06-19T08:05:04.961Z at processTicksAndRejections (node:internal/process/task_queues:96:5) 2024-06-19T08:05:04.963Z at async /home/myuser/dist/routes.js:26:35 2024-06-19T08:05:04.965Z at async wrap (/home/myuser/node_modules/@apify/timeout/index.js:52:21) {"id":"CAfUFdsYJLvJW2V","url":"https://library.tiktok.com","retryCount":3} 2024-06-19T08:05:09.458Z ERROR CheerioCrawler: Request failed and reached maximum retries. TypeError: Cannot read properties of undefined (reading 'map') 2024-06-19T08:05:09.461Z at handleSearch (/home/myuser/dist/routes.js:111:29) 2024-06-19T08:05:09.463Z at processTicksAndRejections (node:internal/process/task_queues:96:5) 2024-06-19T08:05:09.465Z at async /home/myuser/dist/routes.js:26:35 2024-06-19T08:05:09.467Z at async wrap (/home/myuser/node_modules/@apify/timeout/index.js:52:21) {"id":"CAfUFdsYJLvJW2V","url":"https://library.tiktok.com","method":"GET","uniqueKey":"https://library.tiktok.com"} 2024-06-19T08:05:09.498Z INFO CheerioCrawler: All requests from the queue have been processed, the crawler will shut down. 2024-06-19T08:05:09.699Z INFO CheerioCrawler: Crawl finished. Final request statistics: {"requestsFinished":0,"requestsFailed":1,"retryHistogram":[null,null,null,1],"requestAvgFailedDurationMillis":1272,"requestAvgFinishedDurationMillis":null,"requestsFinishedPerMinute":0,"requestsFailedPerMinute":3,"requestTotalDurationMillis":1272,"requestsTotal":1,"crawlerRuntimeMillis":15549} 2024-06-19T08:05:09.701Z INFO CheerioCrawler: Error analysis: {"totalErrors":1,"uniqueErrors":1,"mostCommonErrors":["1x: Cannot read properties of undefined (reading 'map') (/home/myuser/dist/routes.js:111:29)"]} 2024-06-19T08:05:09.703Z INFO CheerioCrawler: Terminal status message: Finished! Total 1 requests: 0 succeeded, 1 failed. 2024-06-19T08:05:09.760Z INFO Actor finished successfully (exit code 0) 2024-06-19T08:05:09.772Z Done in 16.52s.
Please guide me through this error, or fix the product if this issue is persistent. Thanks in advance!
Can you please share the actor input, or share the run? Thanks.
Here's the input { "maxPages": 20, "proxyConfiguration": { "useApifyProxy": true, "apifyProxyGroups": [ "BUYPROXIES94952" ], "apifyProxyCountry": "US" }, "query": ""creative society"" }
Here's the log : 2024-06-19T08:04:32.318Z ACTOR: Pulling Docker image of build VewBI1EMd8dJ5VLJI from repository. 2024-06-19T08:04:51.689Z ACTOR: Creating Docker container. 2024-06-19T08:04:51.851Z ACTOR: Starting Docker container. 2024-06-19T08:04:53.272Z yarn run v1.22.19 2024-06-19T08:04:53.298Z $ node dist/main.js --silent 2024-06-19T08:04:53.874Z INFO System info {"apifyVersion":"3.1.2","apifyClientVersion":"2.6.3","crawleeVersion":"3.3.0","osType":"Linux","nodeVersion":"v16.20.2"} 2024-06-19T08:04:54.448Z INFO CheerioCrawler: Status message: Crawled 0/1 pages, 0 errors. 2024-06-19T08:04:54.456Z INFO CheerioCrawler: Starting the crawl 2024-06-19T08:04:55.790Z WARN CheerioCrawler: Reclaiming failed request back to the list or queue. TypeError: Cannot read properties of undefined (reading 'map') 2024-06-19T08:04:55.796Z at handleSearch (/home/myuser/dist/routes.js:111:29) 2024-06-19T08:04:55.798Z at processTicksAndRejections (node:internal/process/task_queues:96:5) 2024-06-19T08:04:55.800Z at async /home/myuser/dist/routes.js:26:35 2024-06-19T08:04:55.804Z at async wrap (/home/myuser/node_modules/@apify/timeout/index.js:52:21) {"id":"CAfUFdsYJLvJW2V","url":"https://library.tiktok.com","retryCount":1} 2024-06-19T08:05:00.419Z WARN CheerioCrawler: Reclaiming failed request back to the list or queue. TypeError: Cannot read properties of undefined (reading 'map') 2024-06-19T08:05:00.421Z at handleSearch (/home/myuser/dist/routes.js:111:29) 2024-06-19T08:05:00.423Z at processTicksAndRejections (node:internal/process/task_queues:96:5) 2024-06-19T08:05:00.425Z at async /home/myuser/dist/routes.js:26:35 2024-06-19T08:05:00.426Z at async wrap (/home/myuser/node_modules/@apify/timeout/index.js:52:21) {"id":"CAfUFdsYJLvJW2V","url":"https://library.tiktok.com","retryCount":2} 2024-06-19T08:05:04.956Z WARN CheerioCrawler: Reclaiming failed request back to the list or queue. TypeError: Cannot read properties of undefined (reading 'map') 2024-06-19T08:05:04.959Z at handleSearch (/home/myuser/dist/routes.js:111:29) 2024-06-19T08:05:04.961Z at processTicksAndRejections (node:internal/process/task_queues:96:5) 2024-06-19T08:05:04.963Z at async /home/myuser/dist/routes.js:26:35 2024-06-19T08:05:04.965Z at async wrap (/home/myuser/node_modules/@apify/timeout/index.js:52:21) {"id":"CAfUFdsYJLvJW2V","url":"https://library.tiktok.com","retryCount":3} 2024-06-19T08:05:09.458Z ERROR CheerioCrawler: Request failed and reached maximum retries. TypeError: Cannot read properties of undefined (reading 'map') 2024-06-19T08:05:09.461Z at handleSearch (/home/myuser/dist/routes.js:111:29) 2024-06-19T08:05:09.463Z at processTicksAndRejections (node:internal/process/task_queues:96:5) 2024-06-19T08:05:09.465Z at async /home/myuser/dist/routes.js:26:35 2024-06-19T08:05:09.467Z at async wrap (/home/myuser/node_modules/@apify/timeout/index.js:52:21) {"id":"CAfUFdsYJLvJW2V","url":"https://library.tiktok.com","method":"GET","uniqueKey":"https://library.tiktok.com"} 2024-06-19T08:05:09.498Z INFO CheerioCrawler: All requests from the queue have been processed, the crawler will shut down. 2024-06-19T08:05:09.699Z INFO CheerioCrawler: Crawl finished. Final request statistics: {"requestsFinished":0,"requestsFailed":1,"retryHistogram":[null,null,null,1],"requestAvgFailedDurationMillis":1272,"requestAvgFinishedDurationMillis":null,"requestsFinishedPerMinute":0,"requestsFailedPerMinute":3,"requestTotalDurationMillis":1272,"requestsTotal":1,"crawlerRuntimeMillis":15549} 2024-06-19T08:05:09.701Z INFO CheerioCrawler: Error analysis: {"totalErrors":1,"uniqueErrors":1,"mostCommonErrors":["1x: Cannot read properties of undefined (reading 'map') (/home/myuser/dist/routes.js:111:29)"]} 2024-06-19T08:05:09.703Z INFO CheerioCrawler: Terminal status message: Finished! Total 1 requests: 0 succeeded, 1 failed. 2024-06-19T08:05:09.760Z INFO Actor finished successfully (exit code 0) 2024-06-19T08:05:09.772Z Done in 16.52s.
Please tell me if there's anything else you need; thanks in advance
@confirmable_duty, the issue is now fixed and you can continue using the actor. Thanks for reporting!
- 15 monthly users
- 19 stars
- 100.0% runs succeeded
- Created in Oct 2023
- Modified 3 months ago