0

When i start this code i had this error python 3.7 `enter image description here

import TikTokApi
api = TikTokApi.get_instance(use_selenium=True, executablePath="C:\Program Files(x86)\Google\Chrome\Application")`
user = api.user(username="therock")`
for video in user.videos():
      print(video.id)

for liked_video in api.user(username="public_likes").videos():
      print(liked_video.id)
BoarGules
  • 16,440
  • 2
  • 27
  • 44

1 Answers1

0

You might have to upgrade playwright, try running

pip install playwright --upgrade
David Teather
  • 568
  • 5
  • 15