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] - Discover Methods Broken #586

Closed
davidteather opened this issue May 13, 2021 · 3 comments
Closed

[BUG] - Discover Methods Broken #586

davidteather opened this issue May 13, 2021 · 3 comments
Labels
bug Something isn't working discussion A issue to discuss changes or ways to get around TikTok changes. help wanted Extra attention is needed

Comments

@davidteather
Copy link
Owner

Currently all of the discover methods are broken. It's getting hit consistently with captchas one of my theories about this is that the mobile web app version of TikTok doesn't display trending, but the package feigns a mobile user agent. If someone could investigate this further or make a PR that fixes this that would be helpful

Methods affected

  • discover_hashtags
  • discover_music
  • get_suggested_users_by_id/_crawler
  • get_suggested_hashtags_by_id/_crawler
  • get_suggested_users_by_id/_crawler
@davidteather davidteather added bug Something isn't working help wanted Extra attention is needed discussion A issue to discuss changes or ways to get around TikTok changes. labels May 13, 2021
@davidteather davidteather mentioned this issue May 13, 2021
@MuffinFox
Copy link
Contributor

Seems this also occurs now with by_sound (and maybe other methods), i had a quick look, and there was some new csrf header added recently. See MuffinFox@2e23179 for a quick fix.

@davidteather
Copy link
Owner Author

Thanks for the fix! Also seems like the use_test_endpoints isn't working on the more discoverability endpoints now.
Anyways, released a new version that should help this so I'll close the issue. Also credited @MuffinFox as co-author :)

@MuffinFox
Copy link
Contributor

MuffinFox commented Jun 2, 2021

I accidentially used a incorrect length for token, pls also merge MuffinFox@10f05b9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working discussion A issue to discuss changes or ways to get around TikTok changes. help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants