-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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] - async for reply in comment.replies(count=10): replies It is always impossible to get the comment data of the reply #1181
Comments
Any news on this? video_id = 7248300636498890011 async def get_comments():
if name == "main": |
any news? |
One parameter to retrieve the replies is wrong. TikTok-Api/TikTokApi/api/comment.py Line 61 in a4079f0
You can workaroud this by adding e.g.:
|
I came here having this same problem but @ocofon suggestion worked for me, thanks! |
@Gabenx Did you get all the replies? Or just replies from the tiktok video owner? |
@Giaochan I was able to get all the replies |
@Gabenx discord? |
Gabenx, same as here |
@Gabenx te envie soli |
from TikTokApi import TikTokApi
import asyncio
import os
video_id = 7379950165601307905
ms_token = os.environ.get("ms_token", None) # set your own ms_token
async def get_comments():
async with TikTokApi() as api:
await api.create_sessions(ms_tokens=[ms_token], num_sessions=1, sleep_after=3)
video = api.video(id=video_id)
api.trending
count = 0
if name == "main":
asyncio.run(get_comments())
The text was updated successfully, but these errors were encountered: