TikTok Video Downloader avatar
TikTok Video Downloader
Try for free

3 days trial then $10.00/month - No credit card required now

View all Actors
TikTok Video Downloader

TikTok Video Downloader

epctex/tiktok-video-downloader
Try for free

3 days trial then $10.00/month - No credit card required now

Download any videos from TikTok.com

Actor - TikTok Video Downloder

TikTok Video Downloder

Since TikTok doesn't provide a good and free API, this actor should help you to download videos from TikTok.com

The TikTok Video Downloader supports the following features:

  • Download Video - If you want to get videos for a certain URL, just type the URL.

Bugs, fixes, updates, and changelog

This video downloader is under active development. If you have any feature requests you can create an issue from here.

Input Parameters

The input of this video downloader should be JSON containing the list of pages on TikTok that should be visited. Required fields are:

  • startUrls: (Optional) (Array) List of TikTok URLs. You should only provide detailed URLs

  • proxy: (Required) (Proxy Object) Proxy configuration.

  • extendOutputFunction: (Optional) (String) Function that takes a JQuery handle ($) as an argument and returns an object with data.

  • customMapFunction: (Optional) (String) Function that takes each object's handle as an argument and returns the object with executing the function.

This solution requires using Proxy servers, either your own proxy servers or you can use Apify Proxy.

Tip

When you want to scrape over a specific list URL, just copy and paste the link as one of the startUrl

Compute Unit Consumption

The actor is optimized to run blazing fast and scrape as many items as possible. Therefore, it forefronts all the detailed requests. If the actor doesn't block very often it'll scrape 1 video under 45 seconds with ~0.01-0.02 compute units.

TikTok video downloader Input example

1{
2    "startUrls": [
3        "https://www.tiktok.com/@apifytech/video/7243020243059215621"
4    ],
5    "proxy": {
6        "useApifyProxy": true
7    }
8}

During the Run

During the run, the actor will output messages letting you know what is going on. Each message always contains a short label specifying which page from the provided list is currently specified. When items are loaded from the page, you should see a message about this event with a loaded item count and total item count for each page.

If you provide incorrect input to the actor, it will immediately stop with a failure state and output an explanation of what is wrong.

TikTok Export

During the run, the actor stores results into a dataset. Each item is a separate item in the dataset.

You can manage the results in any language (Python, PHP, Node JS/NPM). See the FAQ or our API reference to learn more about getting results from this TikTok Video downloader.

Downloaded TikTok Properties

The structure of each item in TikTok looks like this:

Item Detail

1{
2    "title": "Web scraping meets geography 🗺️#googlemaps #webscraping #dataextraction #geolocation #coordinates #api #data",
3    "sourceUrl": "https://www.tiktok.com/@apifytech/video/7231446296006020379",
4    "downloadUrl": "https://api.apify.com/v2/key-value-stores/04e889f7-a2c2-4ed3-ad68-e27c9700e68c/records/7231446296006020379",
5    "cover": "https://p16-sign-useast2a.tiktokcdn.com/obj/tos-useast2a-p-0037-aiso/7561a8cf21b147b4a77d892caf952ff0_1683702309?x-expires=1695553200&x-signature=P93QYUYYYU7rqWuZs2D%2BD9j76%2Bw%3D"
6}

Contact

Please visit us through epctex.com to see all the products that are available for you. If you are looking for any custom integration or so, please reach out to us through the chat box in epctex.com. In need of support? devops@epctex.com is at your service.

Developer
Maintained by Community
Actor metrics
  • 20 monthly users
  • 2 stars
  • 95.6% runs succeeded
  • Created in Jul 2023
  • Modified about 10 hours ago