'How to import TikTok Scraper API to my python script? [duplicate]

I'm currently working with the TikTok Scraper API on the terminal, but I want to work with it in my python file. However, the name of the package includes a hyphen, which produces a syntax error. Error generated



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source