I noticed that when requesting video metadata by username, using getVideosByUserName(), the results have a different structure than when requesting by hashtag, using getVideosByHashTag(). For example, the key for author information is author for the former, and authorInfos for the latter.
I was wondering, is this difference caused by tiktok itself? Is there a way to adjust this (other than parsing the results afterwards)?
Great project, thanks for making it available!
I noticed that when requesting video metadata by username, using getVideosByUserName(), the results have a different structure than when requesting by hashtag, using getVideosByHashTag(). For example, the key for author information is
author
for the former, andauthorInfos
for the latter.I was wondering, is this difference caused by tiktok itself? Is there a way to adjust this (other than parsing the results afterwards)?