Answer the question
In order to leave comments, you need to log in
How to solve the error?
Hello, there is such a code for downloading video from tik tok. but when importing, it gives me the error below. who worked with TikTokApi, how to solve?
print("Input the TikTok URL")
url = input()
from TikTokApi import TikTokApi
api = TikTokApi()
video_bytes = api.get_Video_No_Watermark(url)
with open("tiktok.mp4", 'wb') as output:
output.write(video_bytes)
Answer the question
In order to leave comments, you need to log in
https://stackoverflow.com/questions/51068439/impor...
There is a specified solution, you need to write two lines on the command line. Try.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question