Здравствуйте, есть такой код для скачки видео с тик тока. но при импорте, мне выдает ошибку ниже. кто работал с TikTokApi, как решить?
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)
from TikTokApi.tiktok import TikTokApi
File "/data/data/com.termux/files/usr/lib/python3.9/site-packages/TikTokApi/tiktok.py", line 7, in
from playwright.sync_api import sync_playwright
ImportError: cannot import name 'sync_playwright' from 'playwright.sync_api' (/data/data/com.termux/files/usr/lib/python3.9/site-packages/playwright/sync_api.py)