Simple Script to bulk download TikTok clips without a watermark, used node js and puppeteer headless browser to titles + append #shorts and save videos
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)
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)