mirror of
https://github.com/wukko/cobalt.git
synced 2024-11-17 22:00:00 +00:00
tiktok: throw a proper error if no video was returned from api
This commit is contained in:
parent
a69497245b
commit
90f82ae36e
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ function selector(j, h, id) {
|
|||
t = j['aweme_detail'];
|
||||
break;
|
||||
}
|
||||
if (t.length < 3) return false;
|
||||
if (t?.length < 3) return false;
|
||||
return t;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue