DefaultDownloader
extends BaseDownloader
in package
implements
IDownloader
Video downloader using TikTok's internal API from WebApi
Table of Contents
Interfaces
Constants
- BUFFER_SIZE = 1024
Properties
Methods
- __construct() : mixed
- noWatermark() : void
- Downloads video without watermark using playAddr.
- watermark() : void
- Download video with watermark using downloadAddr
Constants
BUFFER_SIZE
protected
mixed
BUFFER_SIZE
= 1024
Properties
$guzzle
protected
Guzzle
$guzzle
$selenium
protected
Selenium
$selenium
$tokens
protected
Tokens
$tokens
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