mirror of
https://github.com/wukko/cobalt.git
synced 2025-06-13 05:37:44 +02:00
tiktok: throw a proper error if no video was returned from api
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user