avilash/TikTokAPI-Python

NameError: name 'self' is not defined

Opened this issue · 0 comments

Hi guys first project using an API, maybe is a very dumb question, but I want to use the downloadVideoById() method. The documentation indicates that I have to use it like this TikTokAPI.downloadVideoById(self, videoID, path to download). When I use the method i get an error: NameError: name 'self' is not defined what am I doing wrong? :(

thanks