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).
Describe the bug
invalid json request when downloading video
Expected behavior
download all videos
ScreenshotsC:\Users\Alex\tiktok-downloader\node_modules\node-fetch\lib\index.js:273 return Body.Promise.reject(new FetchError(invalid json response body at ${_this2.url} reason: ${err.message}, 'invalid-json')); ^ FetchError: invalid json response body at https://api.tiktokv.com/aweme/v1/multi/aweme/detail/?aweme_ids=%5B7123218751197154566%5b reason: Unexpected end of JSON input at C:\Users\Alex\tiktok-downloader\node_modules\node-fetch\lib\index.js:273:32 at processTicksAndRejections (node:internal/process/task_queues:96:5) at async getVideoNoWM (C:\Users\Alex\tiktok-downloader\index.js:98:17) at async C:\Users\Alex\tiktok-downloader\index.js:196:89 { type: 'invalid-json' }
Describe the bug invalid json request when downloading video
Expected behavior download all videos
Screenshots
C:\Users\Alex\tiktok-downloader\node_modules\node-fetch\lib\index.js:273 return Body.Promise.reject(new FetchError(
invalid json response body at ${_this2.url} reason: ${err.message}, 'invalid-json')); ^ FetchError: invalid json response body at https://api.tiktokv.com/aweme/v1/multi/aweme/detail/?aweme_ids=%5B7123218751197154566%5b reason: Unexpected end of JSON input at C:\Users\Alex\tiktok-downloader\node_modules\node-fetch\lib\index.js:273:32 at processTicksAndRejections (node:internal/process/task_queues:96:5) at async getVideoNoWM (C:\Users\Alex\tiktok-downloader\index.js:98:17) at async C:\Users\Alex\tiktok-downloader\index.js:196:89 { type: 'invalid-json' }