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.

LD

Search videos by country

Open

L_De_Grazia_13 opened this issue
2 months 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?

svpetrenko 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

LD

L_De_Grazia_13

2 months 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.

svpetrenko 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

LD

L_De_Grazia_13

a month ago

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

lukas.prusa 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
  • 977 monthly users
  • 73 stars
  • 99.7% runs succeeded
  • 3.2 days response time
  • Created in Sep 2021
  • Modified about 10 hours ago