You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks like the getUserProfileInfo() function can't handle TikTok users with 0 posts. Has this issue come up before, is this an existing bug? Will this be fixed anytime soon?
Here's one example: https://www.tiktok.com/@yus_soli893
I get the following error when I call const user = await TikTokScraper.getUserProfileInfo('yus_soli893');:
Cannot read property 'split' of undefined
If fields below will be empty then issue will be Ignored and Closed
To Reproduce
Steps to reproduce the behavior:
Used OS Ubuntu 22.04.2
NodeJs Version (node -v) v10.19.0
Scraper Version (tiktok-scraper --version) 1.4.9
CLI or Module module
Used method getUserProfileInfo
Used options
Do you run the scraper through Proxy, VPN, VPS?
If scraping from a profile. Did you checked if profile is Public? Scraper won't work with Private profiles!
Describe the bug
It looks like the
getUserProfileInfo()
function can't handle TikTok users with 0 posts. Has this issue come up before, is this an existing bug? Will this be fixed anytime soon?Here's one example:
https://www.tiktok.com/@yus_soli893
I get the following error when I call
const user = await TikTokScraper.getUserProfileInfo('yus_soli893');
:If fields below will be empty then issue will be Ignored and Closed
To Reproduce
Steps to reproduce the behavior:
Screenshots
If applicable, add screenshots to help explain your problem.
The text was updated successfully, but these errors were encountered: