n0l3r / tiktok-downloader

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).

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hello, i'm getting error while downloading a single video.

fallabdoulaye93 opened this issue · comments

Describe the bug
A clear and concise description of what the bug is.

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
Add any other context about the problem here.

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=%5B7121740182239317253%5b reason: Unexpected end of JSON input
at /Applications/MAMP/htdocs/temp/tiktok-downloader/node_modules/node-fetch/lib/index.js:273:32
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async getVideoNoWM (/Applications/MAMP/htdocs/temp/tiktok-downloader/index.js:98:17)
at async /Applications/MAMP/htdocs/temp/tiktok-downloader/index.js:196:89 {
type: 'invalid-json'
}

That's because the API from https://api.tiktokv.com can't be used anymore

Is there any alternative way?