Documentation

DefaultDownloader extends BaseDownloader
in package
implements IDownloader

Video downloader using TikTok's internal API from WebApi

Table of Contents

Interfaces

IDownloader

Constants

BUFFER_SIZE  = 1024

Properties

$guzzle  : Guzzle
$selenium  : Selenium
$tokens  : Tokens

Methods

__construct()  : mixed
noWatermark()  : void
Downloads video without watermark using playAddr.
watermark()  : void
Download video with watermark using downloadAddr

Constants

Properties

Methods

__construct()

public __construct([array<string|int, mixed> $config = [] ]) : mixed
Parameters
$config : array<string|int, mixed> = []

noWatermark()

Downloads video without watermark using playAddr.

public noWatermark(string $url) : void

The method is identical from watermark, the url is the only thing that changes

Parameters
$url : string

Video URL

watermark()

Download video with watermark using downloadAddr

public watermark(string $url) : void
Parameters
$url : string

Video URL


        
On this page

Search results