mirror of
https://github.com/wukko/cobalt.git
synced 2024-11-06 00:10:02 +00:00
tiktok: remove useless ternary check
Signed-off-by: jj <log@riseup.net>
This commit is contained in:
parent
c3d7bfdbfc
commit
783fbee5d5
1 changed files with 1 additions and 1 deletions
|
@ -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];
|
||||
|
|
Loading…
Reference in a new issue