Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: getUserProfileInfo method doesn't work for users with 0 posts #808

Open
ant0nm opened this issue May 18, 2023 · 0 comments
Open

Bug: getUserProfileInfo method doesn't work for users with 0 posts #808

ant0nm opened this issue May 18, 2023 · 0 comments

Comments

@ant0nm
Copy link

ant0nm commented May 18, 2023

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');:

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!
  • Preferably provide URL to the profile,hashtag,video and etc page https://www.tiktok.com/@yus_soli893

Screenshots
If applicable, add screenshots to help explain your problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant