Closed handole closed 3 years ago
Try to add this to the top of your code
from gevent import monkey
monkey.patch_all()
Closing because stale, feel free to comment on this issue if it's not fixed and I'll probably remember to reopen it
@davidteather not fixed yet
I initialize TikTokApi inside the function instead of outside, it works fine
def xxxfun :
api = TikTokApi.get_instance()
api.trend()
not working for me as well. any solution?
I tried to combine into django with this TikTokApi, before that there was no problem when I was using version 3.7.5 it worked smoothly.
However, after I upgraded the version this error occurred
I tried to return to the previous version too, but it still got an error. hoping for an answer