Hi, there seems to be an issues with this pkg and not seems to work as expected anymore.
You can reproduce the Error by running this code
const payloadData = await fetchVideo('https://www.tiktok.com/@sky___prince/video/7312152600206429446?lang=en'); const buffer = await payload.download(); writeFileSync('runT.mp4', buffer);
Here is the error message (SyntaxError: Unexpected end of JSON input
at JSON.parse)
do you think you can maybe tell me how to fix this error myself if you don't have the time to do so
Hi, there seems to be an issues with this pkg and not seems to work as expected anymore.
You can reproduce the Error by running this code
const payloadData = await fetchVideo('https://www.tiktok.com/@sky___prince/video/7312152600206429446?lang=en'); const buffer = await payload.download(); writeFileSync('runT.mp4', buffer);
Here is the error message (SyntaxError: Unexpected end of JSON input at JSON.parse)
do you think you can maybe tell me how to fix this error myself if you don't have the time to do so