avilash / TikTokAPI-Python

TikTok API Python Wrapper
http://avilashkumar.com/TikTokAPI-Python/
MIT License
442 stars 114 forks source link

NameError: name 'self' is not defined #78

Open Aksor9 opened 5 months ago

Aksor9 commented 5 months ago

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