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'];
|
||||
break;
|
||||
}
|
||||
if (t.length < 3) return false;
|
||||
if (t?.length < 3) return false;
|
||||
return t;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user