New to Python, help running a script #485
-
I'm quite new to python, I've only had experience doing simple introductory and intermediate coding courses in C++ from university. Just trying to run this code I got from https://towardsdatascience.com/how-to-collect-data-from-tiktok-tutorial-ab848b40d191
It gives me this Exception
I've installed pandas and the TikTokApi correctly I believe. im running the code out of Anaconda3. Just trying to get a list of my friends liked videos so he can throw the url's into a batch video downloader. Thanks for any help! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Use |
Beta Was this translation helpful? Give feedback.
Use
api = TikTokApi.get_instance()
instead. You might want to consider looking at this YouTube video that tells you how to setup the package as that article seems to be out of date.