tiktok downloader is a tool to download video from tiktok with watermark or without watermark. There are two features that is, mass download (by username/urls) and single download (by url).
I have a problem, in all the modes. When I would like to download, this appears :
Error: SyntaxError: Unexpected end of JSON input
at JSON.parse ()
at getVideo (C:\Users\antob\Downloads\TikTok\tiktok-downloader\index.js:126:24)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async C:\Users\antob\Downloads\TikTok\tiktok-downloader\index.js:320:20
Response body:
C:\Users\antob\Downloads\TikTok\tiktok-downloader\index.js:133
if (res.aweme_list[0].aweme_id != idVideo) {
^
TypeError: Cannot read properties of undefined (reading 'aweme_list')
at getVideo (C:\Users\antob\Downloads\TikTok\tiktok-downloader\index.js:133:13)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async C:\Users\antob\Downloads\TikTok\tiktok-downloader\index.js:320:20
I have a problem, in all the modes. When I would like to download, this appears :
Error: SyntaxError: Unexpected end of JSON input at JSON.parse ()
at getVideo (C:\Users\antob\Downloads\TikTok\tiktok-downloader\index.js:126:24)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async C:\Users\antob\Downloads\TikTok\tiktok-downloader\index.js:320:20
Response body:
C:\Users\antob\Downloads\TikTok\tiktok-downloader\index.js:133
if (res.aweme_list[0].aweme_id != idVideo) {
^
TypeError: Cannot read properties of undefined (reading 'aweme_list') at getVideo (C:\Users\antob\Downloads\TikTok\tiktok-downloader\index.js:133:13) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async C:\Users\antob\Downloads\TikTok\tiktok-downloader\index.js:320:20