tiktok-scraper icon indicating copy to clipboard operation
tiktok-scraper copied to clipboard

getAllVideosFromUser method causes triggerUncaughtException

Open SwissAlps2 opened this issue 1 year ago • 0 comments

When I use the getAllVideosFromUser method from the terminal using node it creates the following error. It was working a few weeks ago but not anymore. I have edited the output slightly by replacing characters with 4 *'s

I'm running Debian 11

node:internal/process/promises:289
            triggerUncaughtException(err, true /* fromPromise */);
            ^

frame.addScriptTag: Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'nonce-****' 'unsafe-eval' sf16-website-login.neutral.ttwstatic.com s20.tiktokcdn.com *.tiktokcdn-us.com". Either the 'unsafe-inline' keyword, a hash ('sha256-****='), or a nonce ('nonce-...') is required to enable inline execution.

at async /home/coding/node_modules/tiktok-signature/index.js:78:7 {
  name: 'Error'
}

Node.js v19.6.0

SwissAlps2 avatar Mar 06 '23 01:03 SwissAlps2