init of tiktok client is stuck when code is run on amazon cloud(locally its working great) #1008
Unanswered
Daniel-Verman
asked this question in
Q&A
Replies: 1 comment
-
What OS? |
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
Uh oh!
There was an error while loading. Please reload this page.
-
Hi im trying to use this code to extract stats from video_id.
and its working great locally,
but when im uploading the code to aws to run on the cloud(its on airflow dag) its stuck when trying to init the tiktok client, i
tried different variation with:
tk_api = TikTokApi() # its not moving from this line
v_video = tk_api.video(id = v_id)
v_info = v_vido.info()
or
with TikTokApi() as tk_api:
v_video = tk_api.video(id=v_id)
v_info = v_video.info()
any idea why its working locally and not on amazon?is there anything i need to provide to
TikTokApi params to make it work on amazon as well?
Beta Was this translation helpful? Give feedback.
All reactions