TikTok Scraper avatar

TikTok Scraper

Try for free

4 days trial then $45.00/month - No credit card required now

Go to Store
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.

Do you want to learn more about this Actor?

Get a demo
.P

I want to scrape certain profile and retrieve download ulr, so i can download and put it in my s3 storage, I don't see any url that i can use to do it

Open

a.platya opened this issue
2 months ago

I want to scrape certain profile and retrieve download ulr, so i can download and put it in my s3 storage, I don't see any url that i can use to do it

.P

a.platya

2 months ago

i was parsing instagram with similar scraper and they gave me cdn url of video and i just downloaded it in my storage, to reduce cost and time

lukas.prusa avatar

Hi, thanks for opening this issue!

Can you share the Instagram scraper that's able to do this? I'm not really sure what you mean? Are you trying to save the whole profile data, or just some specific fields, because later on you are talking about video URLs?

Thanks!

.P

a.platya

2 months ago

i am talking about video CDN of tiktoks, apify/instagram-reel-scraper

lukas.prusa avatar

I see, this scraper can easily download the videos as well :) Just enable the shouldDownloadVideos option, and you will be able to find them under the videoMeta.downloadAddr output field.

I hope this helps, thanks and happy scraping!

.P

a.platya

2 months ago

i don't see where to enable it

.P

a.platya

2 months ago

i am using apify console input and don't see where to enable shouldDownloadVideos

lukas.prusa avatar

Enable it in the input under the 📹 Download TikTok videos -> Include videos input option.

Or you use the JSON input editor where you can type the shouldDownloadVideos: true option :)

.P

a.platya

2 months ago

But i don't want to save it in apify storage, i want link directly to tiktok CDN

lukas.prusa avatar

TikTok doesn't have any easy to download video URLs. You wouldn't be able to download it from there.

Use the Apify one.

svpetrenko avatar

To add to Lukáš' answer, if you tick 📹 Download TikTok videos -> Include videos you will get a URL to the video file under videoMeta.downloadAddr for each dataset item. We used to provide links to TikTok's CDN but recently removed them because they were useless and confusing - they immediately expire if you don't save the exact cookies the scraper was using - the only way to preserve the video file is to directly download it somewhere.

Developer
Maintained by Apify

Actor Metrics

  • 1.1k monthly users

  • 118 stars

  • >99% runs succeeded

  • 3.4 days response time

  • Created in Sep 2021

  • Modified 12 hours ago