Closed julio213180 closed 1 year ago
Same thing happened to me. Seems to be an issue with the res.aweme_list[0] part. Something is up with the API url I think.
Same here:
Error: SyntaxError: Unexpected end of JSON input
at JSON.parse (
TypeError: Cannot read properties of undefined (reading 'aweme_list') at getVideoNoWM (/Users/nanak/tiktok-downloader/index.js:115:38) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async /Users/nanak/tiktok-downloader/index.js:214:89
Node.js v19.5.0
same here... it founds the videos but non is downloaded
Same for me:
[*] Getting list video from: XXXX
[*] 16 video found
[*] 30 video found
[*] 30 video found
[X] No more video found
[*] Total video found: 30
[!] Found 30 video
Error: SyntaxError: Unexpected end of JSON input
at JSON.parse (<anonymous>)
at getVideoNoWM (/home/tbm/src/tiktok-downloader/index.js:110:33)
at async /home/tbm/src/tiktok-downloader/index.js:214:89
Response body:
(node:1259272) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'aweme_list' of undefined
at getVideoNoWM (/home/tbm/src/tiktok-downloader/index.js:115:38)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
at async /home/tbm/src/tiktok-downloader/index.js:214:89
Same thing happened to me, I not working when I any action download, hope anyone fix bug will be honored. There is log error:
Error: SyntaxError: Unexpected end of JSON input
at JSON.parse (
TypeError: Cannot read properties of undefined (reading 'aweme_details') at getVideoNoWM (//tiktok-downloader/index.js:115:38) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async //tiktok-downloader/index.js:214:89
Made a fix for it, seems the api link was expired so I changed the link and it all works fine for me!
@matthewcoolio can you open a PR or where can we find your fix?
I have solved this problem. please re-clone this repository. Thank u :)
Nice, thank you
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.