mirror of
https://github.com/imputnet/cobalt.git
synced 2025-06-29 09:58:27 +00:00
tiktok: throw a proper error if no video was returned from api
This commit is contained in:
parent
a69497245b
commit
90f82ae36e
@ -23,7 +23,7 @@ function selector(j, h, id) {
|
|||||||
t = j['aweme_detail'];
|
t = j['aweme_detail'];
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if (t.length < 3) return false;
|
if (t?.length < 3) return false;
|
||||||
return t;
|
return t;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user