TikTokApi 没有属性 get_instance
我试图为 TikTokApi 的几个示例运行一些 python 代码,但我总是遇到相同的错误,TikTokApi 没有 atrribute get_instance。 我在我的机器中运行 Python 3.8.3rc1,简单的代码是:
from TikTokApi import TikTokApi
verifyFp="my_code from cookie"
api = TikTokApi.get_instance(use_selenium=True,
executablePath="/path/to/chromedriver",custom_verifyFp=verifyFp)
知道为什么它不起作用吗?谢谢
I am trying to run some python code for several examples of TikTokApi but I always have the same error, TikTokApi has no atrribute get_instance. I am running Python 3.8.3rc1 in my machine and the simple code is:
from TikTokApi import TikTokApi
verifyFp="my_code from cookie"
api = TikTokApi.get_instance(use_selenium=True,
executablePath="/path/to/chromedriver",custom_verifyFp=verifyFp)
Any idea why it does not work? Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您需要更新 V5 的代码。阅读文档
有关 TikTokApi 类的更多详细信息此处。
You need to update your code for V5. Read the documentation
More details on TikTokApi class here.