TikTok Hashtag Scraper avatar

TikTok Hashtag Scraper

Try for free

Pay $4.00 for 1,000 videos

Go to Store
TikTok Hashtag Scraper

TikTok Hashtag Scraper

clockworks/tiktok-hashtag-scraper
Try for free

Pay $4.00 for 1,000 videos

Scrape TikTok hashtag data. Just add one or more hashtags and extract TikTok videos with that hashtag: URLs, likes, country of creation, video and music metadata, TikTok creator data. Export scraped data, run the scraper via API, schedule and monitor runs or integrate with other tools.

Developer
Maintained by Apify

Actor Metrics

  • 421 monthly users

  • 4.6 / 5 (7)

  • 57 bookmarks

  • >99% runs succeeded

  • 3.1 days response time

  • Created in Mar 2023

  • Modified a day ago

SC

Getting posts without the designated hashtag

Open
scorvite opened this issue
2 months ago

I scraped 200 posts with the hashtag #career but noticed only about 75 percent of those posts actually have the hashtag in the caption. Why is this happening? How are the posts selected if it doesn't even have the hashtag? Thanks

ruocco-l avatar

Hello.

Unfortunately TikTok doesn't enforce exact match of the hashtag. Basically the scraper acts like a user visiting this page https://www.tiktok.com/tag/career. So we collect all the videos that a user would get when searching for this specific hashtag. This means that enforcing the exact match for the hashtag, would get you further away from what the user would actually experience.

Hope this clarifies a bit how the scraper works and what you can get from it. I'll close this issue but feel free to reopen it and ask more questions!

Happy scraping!

SC

scorvite

2 months ago

Thanks for the response, Luigi! I do notice that not all posts in this page https://www.tiktok.com/tag/career contain the hashtag in the caption.

However, I decided to test it myself with a brand new TikTok account and after searching #career, all of them contained the hashtag in the caption.

I wonder where the mismatch is happening. Could you explain more about how the scraper acts as an actual user? And, if you have any thoughts on why a manual search outputs posts with the hashtag?

ruocco-l avatar

Good catch!

I'm guessing that you tested it on mobile. Unfortunately, as of now, we are not scraping the mobile TikTok app but we are scraping the website itself. Getting to the mobile app will let us perform the kind of search you are asking and more so we are working to get it as soon as possible.

I'll notify you when we will get there so stay tuned!

In the meantime, if you wanna have more control on what the search will get you, I can suggest you:

  1. Periodically scrape the hashtag (eventually consider a post process by accepting more hashtag, like careers, work etc.)
  2. Scrape only the channels you know will get you video you are interested in! You can also integrate your search result on the actor to automate the process (scraping the hashtag career will get you some videos and from those video you can get the name of the profile to use as an input in your profile scrape)

Hope this clarifies a bit what's going on. We are here to answer your further questions.