karim0sec / Bulk-Tiktoks-Downloader

Simple Script to bulk download TikTok clips without a watermark, used node js and puppeteer headless browser to titles + append #shorts and save videos
MIT License
80 stars 33 forks source link

Hello, how to fix this error #26

Closed quang1321 closed 2 years ago

quang1321 commented 2 years ago

E:\Work\Video\allvideosuser.js:89 const token = body.toString().match(/href=\"[^"]*"/i)[0].split(".") ^

TypeError: Cannot read properties of null (reading '0') at main (E:\Work\Video\allvideosuser.js:89:59) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5)

karim0sec commented 2 years ago

update and use: npm i in the project directory