drawrowfly / tiktok-scraper

TikTok Scraper. Download video posts, collect user/trend/hashtag/music feed metadata, sign URL and etc.
4.44k stars 805 forks source link

Error- Can't extract user metadata from the html page. Make sure that user does exist and try to use proxy #734

Closed just-rich closed 2 years ago

just-rich commented 2 years ago

Using a tiktok Discord bot and running into this error- no clue what to do or how to fix. After a google search it brought me to an issue posted in this repo but didn't seem like much help other than using a proxy- which not sure how I would do using this Discord bot

/home/pi/discordbots/tiktok/node_modules/tiktok-scraper/build/core/TikTok.js:656 throw new Error(Can't extract user metadata from the html page. Make sure that user does exist and try to use proxy`); ^

Error: Can't extract user metadata from the html page. Make sure that user does exist and try to use proxy at TikTokScraper.getUserProfileInfo (/home/pi/discordbots/tiktok/node_modules/tiktok-scraper/build/core/TikTok.js:656:15) at async Object.exports.getUserProfileInfo (/home/pi/discordbots/tiktok/node_modules/tiktok-scraper/build/entry.js:138:20) at async resolveID (/home/pi/discordbots/tiktok/index.js:12:32) at async Client. (/home/pi/discordbots/tiktok/index.js:42:20)`

Raspberry Pi 4 Raspbian GNU/Linux 10 (buster) NodeJs; v16.13.0

image