fix(packages.core): fix ttdownloader endpoint

Signed-off-by: hansputera <hanifdwyputrasembiring@gmail.com>
This commit is contained in:
hansputera
2024-09-08 15:08:49 +08:00
parent 0c4d72a546
commit 1e716c337f

View File

@@ -29,7 +29,7 @@ export class TTDownloader extends BaseProvider {
const token = (
firstResponse.body.match(/name="token" value="(.*)?"/) as string[]
)[1];
const videoResponse = await this.client.post('./req', {
const videoResponse = await this.client.post('./search', {
form: {
token: token,
format: '',