mirror of
https://github.com/wukko/cobalt.git
synced 2025-06-12 21:27:39 +02:00
tiktok: remove useless ternary check
Signed-off-by: jj <log@riseup.net>
This commit is contained in:
@ -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];
|
||||
|
Reference in New Issue
Block a user