tiktok: remove useless ternary check

Signed-off-by: jj <log@riseup.net>
This commit is contained in:
jj 2024-03-16 18:42:28 +01:00 committed by GitHub
parent c3d7bfdbfc
commit 783fbee5d5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -68,7 +68,7 @@ export default async function(obj) {
}
if (!obj.isAudioOnly && !images) {
video = obj.host === "tiktok" ? detail.video.play_addr.url_list[0] : detail.video.play_addr.url_list[0];
video = detail.video.play_addr.url_list[0];
videoFilename = `${filenameBase}.mp4`;
} else {
let fallback = detail.video.play_addr.url_list[0];