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.

Do you want to learn more about this Actor?

Get a demo
WN

Mentions field doesn't map to actual mentioned TikTok accounts

Closed

wholesome_network opened this issue
21 days ago

It looks like the Mentions field information is parsed directly from the post text, and the information about the real account being mentioned gets lost because the @ mentioned in the post text does not necessarily match the actual profile being mentioned. Here's an example: I scraped the @foodnetwork profile and got video with URL: https://www.tiktok.com/@foodnetwork/video/7430496306172284190 The Mentions field from the scraped data includes ['@Andrea'], which is found in the video post text. However, the link mentioned on the page actually refers to the profile https://www.tiktok.com/@breckinridgestreet, which isn't part of the scraping data. Is there a way to include that? Thanks!

WN

wholesome_network

14 days ago

Any updates on this? I want to understand if this is the expected behavior or a bug. The mentions field retrieves the profile nickName, which is not as helpful a the username

lukas.prusa avatar

Hi, thanks for opening this issue and your patience!

Yes, as you describe, currently the scraper only extracts just the user's nickname. This is clearly not enough, so we will add extraction for the other user fields, such as the custom unique user ID (name) and regular user ID (just numerical).

We will probably change the current output format for mentions to the following:

1"mentions": [
2    {
3        "name": "breckinridgestreet",
4        "nickName": "Andrea",
5        "id": "7069396750772257835"
6    }
7]

I will keep you updated here about the progress, thanks!

WN

wholesome_network

13 days ago

That would be perfect! Thanks

svpetrenko avatar

Hi again! We've added this - it's under detailedMentions. Here is an example run https://console.apify.com/view/runs/MUBTPeG5NJaKxlI3h

Developer
Maintained by Apify

Actor Metrics

  • 1.1k monthly users

  • 96 stars

  • >99% runs succeeded

  • 3 days response time

  • Created in Sep 2021

  • Modified 13 hours ago