Replies: 1 comment
-
You could make HTTP calls directly and extract the data from the HTML for the videos. await api.sessions[0].page.goto(the_video_url)
data = api.sessions[0].page.content # should pull the html on screen |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi everyone,
I'm able to pull the location the video was created in from TikTok's source code (see image attached - 'locationcreated'). It's right next to 'adAuthorization' and 'adLabel' attributes. However, when pulling in 'stats' or 'info' from the TikTokApi from the 'video' class, the data returned only shows the adAuthorization and adLabel, but not locationcreated. Please can the code be updated to reflect location created as I am trying to model TikTok audience demographics, or can someone kindly suggest a workaround? :)
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions