TikTok Scraper avatar
TikTok Scraper
Try for free

4 days trial then $45.00/month - No credit card required now

View all Actors
TikTok Scraper

TikTok Scraper

clockworks/tiktok-scraper
Try for free

4 days trial then $45.00/month - No credit card required now

Extract data from TikTok videos, hashtags, and users. Use URLs or search queries to scrape TikTok profiles, hashtags, posts, URLs, shares, followers, hearts, names, video, and music-related data. Export scraped data, run the scraper via API, schedule and monitor runs or integrate with other tools.

SY

TargetClosedError: Target page, context or browser has been closed

Closed

Synthesio opened this issue
a month ago

Lots of my latest job failed with this traceback

12024-06-11T16:16:31.224Z /home/myuser/node_modules/playwright-core/lib/server/chromium/crPage.js:500
22024-06-11T16:16:31.225Z     this._firstNonInitialNavigationCommittedReject(new _errors.TargetClosedError());
32024-06-11T16:16:31.227Z                                                    ^
42024-06-11T16:16:31.228Z
52024-06-11T16:16:31.228Z TargetClosedError: Target page, context or browser has been closed
62024-06-11T16:16:31.229Z     at FrameSession.dispose (/home/myuser/node_modules/playwright-core/lib/server/chromium/crPage.js:500:52)
72024-06-11T16:16:31.231Z     at CRPage.didClose (/home/myuser/node_modules/playwright-core/lib/server/chromium/crPage.js:162:60)
82024-06-11T16:16:31.232Z     at CRBrowser._onDetachedFromTarget (/home/myuser/node_modules/playwright-core/lib/server/chromium/crBrowser.js:200:14)
92024-06-11T16:16:31.233Z     at CRSession.emit (node:events:519:28)
102024-06-11T16:16:31.234Z     at /home/myuser/node_modules/playwright-core/lib/server/chromium/crConnection.js:160:14```
svpetrenko avatar

Hi, thanks for the issue! This is a bug in underlying Crawlee library that has been fixed in their recent version, so I've updated it. So, let me know if this happens again in the following days

svpetrenko avatar

I'll close now, but please reopen if it happens again

Developer
Maintained by Apify
Actor metrics
  • 979 monthly users
  • 73 stars
  • 99.7% runs succeeded
  • 3.2 days response time
  • Created in Sep 2021
  • Modified about 9 hours ago