TikTok Sound Scraper avatar
TikTok Sound Scraper
Try for free

Pay $4.00 for 1,000 videos

View all Actors
TikTok Sound Scraper

TikTok Sound Scraper

clockworks/tiktok-sound-scraper
Try for free

Pay $4.00 for 1,000 videos

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

SZ

Doesn't scrape all videos

Closed

szc opened this issue
3 months ago

Hi, I hope you're doing well.

The other day, I started a task to scrape all videos featuring this sound: https://tiktok.com/music/Number-2-by-Lil-Tecca-7333523419712981803.

There were roughly 11.6k videos to the sound at the time, so I set the maximum to 12,000, but the actor stopped after scraping 4,126 videos.

I wanted to reach out to see if we could figure out why this is – I've been trying to avoid running another full scrape as I'd like to avoid incurring the relatively high cost of a full run. Any suggestions on what I should adjust or try to address this issue? Please let me know.

Thanks, Simon

svpetrenko avatar

Hi! Thanks for the issue. This is inherent to the way TikTok web app works: it doesn't return all the results in many cases. For example, with hashtags, even if TT writes that it has several milliion videos, you usually can expect only a several hundred before scrolling down is cut. Same with comments. And sometimes even with profiles: count can fluctuate by several videos. So with music I expect it to be the same: it is going to cut after a while

SZ

szc

3 months ago

copy, is there any way around this to ensure we’re pulling all results?

( https://galacticrecords.com )

SZ

szc

3 months ago

also any way to scrape high-level data (specifically total video count to the sound)?

( https://galacticrecords.com )

svpetrenko avatar

Hi again, unfortunately no, for now there is no way to get more than what TikTok itself offers

Regarding high-level data, I'll be adding that and notify you when it's in the scraper

svpetrenko avatar

I've reviewed the output, and it's actually there: under searchMusic.videos key (make sure to select All fields)

Developer
Maintained by Apify
Actor metrics
  • 16 monthly users
  • 7 stars
  • 99.7% runs succeeded
  • 6.8 days response time
  • Created in May 2023
  • Modified about 10 hours ago