TikTok Scraper avatar
TikTok Scraper

Pricing

Pay per event

Go to Apify Store
TikTok Scraper

TikTok Scraper

Developed by

Clockworks

Clockworks

Maintained by Apify

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.

4.4 (25)

Pricing

Pay per event

640

57K

11K

Issues response

1.3 days

Last modified

3 days ago

IN

[REQUEST] Error handling

Closed
inca opened this issue
a year 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.

svpetrenko 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'