Skip to content

How to Retrieve Follower Count, Like Count, and Video Like Counts ? #1161

Discussion options

You must be logged in to vote

You can, using video.as_dict, author information is in the authorStats and author key, you can look through the dictionary and find all the information available on that particular video, you can also provide the dictionary to some LLM like chatGPT and ask for help in retrieving whatever else you might need, it works pretty well for simple scripts.

This is an example of how I'm using it:

        author_data = {
            'author_unique_id': video_data_raw['author']['uniqueId'],
            'author_url': f"https://www.tiktok.com/@{video_data_raw['author']['id']}",
            'digg_count': video_data_raw['authorStats']['diggCount'],
            'follower_count': video_data_raw['authorSta…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@bunyaminbilenkaratas
Comment options

Answer selected by bunyaminbilenkaratas
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants