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

Search videos by country

Open

L_De_Grazia_13 opened this issue
14 days ago

Hi, I want to search videos, selecting as a parameter the country from which they are published. For example, search for videos with a selected hashtag uploaded from Spain. Is it possible with this actor?

User avatar

Hi! Unfortunately, it's not supported currently. This scraper is only capable of doing what a real user could do via TikTok's webpage and there is no such option (although if you encounter a way you can filter by country let me know). You'd have to apply your own post-processing

User avatar

L_De_Grazia_13

13 days ago

Hi! Thanks for the answer. How can I filter by country post-processing? I don't see the country where the videos are published as metadata in the CSV file.

User avatar

Right now you can only see the country of the author (authorMeta.region) and seeing the location of post itself would require scraping the post by direct URL, which for now we're unable to do, but we're working on that and will tell you when it's done

User avatar

L_De_Grazia_13

7 days ago

Hi, the option author.Meta.region is not available when I obtain the metadata in a CSV format.

User avatar

Hi, the authorMeta.region field is only available for direct profiles, not for videos.

In other words, it's only available when searching for profiles ("searchSection": "/user"), or by inputting a profile to scrape ("profiles": ["PROFILE_NAME"]).

I hope this helps, thanks!

Developer
Maintained by Apify
Actor metrics
  • 1k monthly users
  • 47 stars
  • 99.8% runs succeeded
  • 2.4 days response time
  • Created in Sep 2021
  • Modified 4 days ago