🏯 Tiktok Scraper (Pay Per Result)
Pay $0.30 for 1,000 posts
🏯 Tiktok Scraper (Pay Per Result)
Pay $0.30 for 1,000 posts
The most complete and effective solution for extracting data from TikTok.com. User, Profile, Hashtag, Music, Location, Tag, and many other support is just the beginning. The intelligent algorithm allows TikTok Scraper to retrieve any posts/videos around the platform in the blink of an eye!
Hi so i have been using search functionality..can you perhaps put the search query in a column so that i can see what search query gives the post? And can you add this same column to Tweet Scraper V2 actor too? Many thanks!
Hello,
You can use customMapFunction
to append any data to the result dataset so you can just add the search query to the data objects.
You can do the same with Tweet Scraper however it already has that functionality built in called Include Search Term
under Advanced settings
Cheers
Thanks for the info!
Hi I need to ask again, how do i find the search query? I cannot find the field you use to map it.
Hello,
When you are running the actor, you can provide that to the customMapFunction and you will get it back with the result. Something like:
1{ 2 "customMapFunction": "(object) => { let data = object; data.newField = `anything you want here, maybe your search query?`; return data }", 3}
Cheers
Hi thanks for the reply. I should elaborate on my initial issue that it would be nice to have the search query for each result to know where this particular result comes from. Its like turning on the "include search terms" option from the Tweet Scraper but for this particular scraper.
I know that if it is directly available, I can just append it to my object through the map function, but the problem is accessing the search query in the first place.
Hello,
When you are initiating the run in the beginning, you have the search query right? And you are using it in the INPUT. You can also add it to the customMapFunction and get back with the objects. Does that make sense?
Best
Hi. I want to ask again. I already tried that with one search query, like this: (object) => {let data = object; data.keyword = 'test' ;return {data} } Now I want to do it for multiple search query in one run like attached here..how do i do that? Thanks, and sorry for asking too much.
Hello,
You can do this with a custom logic on your end, unfortunately we cannot give you code level support.
Cheers
Actor Metrics
221 monthly users
-
39 stars
>99% runs succeeded
3.4 hours response time
Created in Dec 2023
Modified 20 hours ago