mirror of
https://github.com/imputnet/cobalt.git
synced 2025-12-12 13:42:52 +00:00
api/tiktok: return empty error if there's nothing to download
sometimes posts are broken and don't have any valid media
This commit is contained in:
parent
14b9a590d9
commit
2ac0436f71
@ -168,4 +168,6 @@ export default async function(obj) {
|
|||||||
headers: { cookie }
|
headers: { cookie }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return { error: "fetch.empty" };
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user