Added Cover / Dynamic Cover to TiktokDL Results

This commit is contained in:
3IMAD69 2023-06-22 16:27:41 +01:00
parent a3f52ff459
commit 2f14b9a357
2 changed files with 4 additions and 0 deletions

View File

@ -22,6 +22,8 @@ export type DLResult = {
favoriteCount: number
}
video?: string[]
cover?: string[]
dynamic_cover?: string[]
images?: string[]
music: string[]
}

View File

@ -69,6 +69,8 @@ export const TiktokDL = (url: string): Promise<DLResult> =>
author,
statistics,
video: content.video.play_addr.url_list,
cover: content.video.cover.url_list,
dynamic_cover:content.video.dynamic_cover.url_list,
music: content.music.play_url.url_list
}
})