You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to get the comments of the video, but the data obtained by the following code is empty
from tiktokapipy.api import TikTokAPI
def do_something():
with TikTokAPI(navigator_type = 'chromium') as api:
video = api.video("https://www.tiktok.com/@sstowen/video/7232788728538844459")
comments = video.comments
comment_text = [comment.text for comment in comments]
print("Comments: ", comment_text)
do_something()
console print result
A second attempt might work.
video = api.video("https://www.tiktok.com/@sstowen/video/7232788728538844459")
Comments: []
I checked the related issues, but I didn't find a suitable answer, I hope to get your help
The text was updated successfully, but these errors were encountered:
Duplicate of #23, #30. I'm planning on working on this issue this week and next. Please follow one of those issues to get updates about collecting comments. I'm closing this as a duplicate.
I want to get the comments of the video, but the data obtained by the following code is empty
console print result
I checked the related issues, but I didn't find a suitable answer, I hope to get your help
The text was updated successfully, but these errors were encountered: