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.

User avatar

[REQUEST] Error handling

Closed

inca opened this issue
2 months ago

Hi!

I would like to inquire if it is feasible to include error reporting in the output format. Specifically, in cases where a profile does not exist, could we adopt the following format?

{ "url": "url being collected", "input": "based on the input handle/url", "error": "This profile does not exist" }

Furthermore, I am interested to know if there are any other types of errors currently being reported under the key "error".

Thank you for your attention to this matter.

User avatar

Hi. I've added the input property to the output. To see them, click "All fields" in the output tab (or did you mean to add these properties to the output schema, so that it's visible without that?).

Currently "error" messages include:

  • 'This profile/hashtag does not exist.'
  • 'Could not load the page.' (-- usually doesn't happen)
  • 'The profile is behind a login wall.' (e.g. explicit content)
  • 'Post not found or private.'
  • 'There are no ads for this hashtag'
  • 'No videos found for the music tag'
  • 'No videos found for the search query'
Developer
Maintained by Apify
Actor metrics
  • 534 monthly users
  • 99.9% runs succeeded
  • 3.8 days response time
  • Created in Sep 2021
  • Modified about 16 hours ago