tiktok-uploader: Failed to Upload Video with tiktok-uploader

I’m using the tiktok-uploader library and encountered an issue while trying to upload a video. The login seems to work correctly, as I can see the upload page when running with headless=False. However, the script gets stuck on the upload page for a few seconds and then throws the following error:

$ tiktok-uploader -v video.mp4 -d "lololo w" -c /mnt/c/Users/dam2452/Downloads/cookies.txt
[15:58:29] Authenticating browser with cookies
[15:58:29] Create a chrome browser instance in headless mode
[15:58:30] Authenticating browser with cookies
[15:58:32] Posting video.mp4
               with description: lololo w
[15:58:32] Navigating to upload page
[15:59:34] Failed to upload /mnt/c/GIT_REPO/tiktak-generator/video.mp4
[15:59:34] Message: 
Stacktrace:
#0 0x5562a353c02a <unknown>
#1 0x5562a32225e0 <unknown>
#2 0x5562a3271be8 <unknown>
#3 0x5562a3271e81 <unknown>
#4 0x5562a32b88c4 <unknown>
#5 0x5562a3296b4d <unknown>
#6 0x5562a32b5d7d <unknown>
#7 0x5562a32968c3 <unknown>
#8 0x5562a32646b3 <unknown>
#9 0x5562a326568e <unknown>
#10 0x5562a3506a2b <unknown>
#11 0x5562a350a9b1 <unknown>
#12 0x5562a34f3225 <unknown>
#13 0x5562a350b532 <unknown>
#14 0x5562a34d838f <unknown>
#15 0x5562a352af28 <unknown>
#16 0x5562a352b0f3 <unknown>
#17 0x5562a353ae7c <unknown>
#18 0x7f91e8068dab <unknown>

-------------------------
Error while uploading video
-------------------------

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 15

Most upvoted comments

here is fixed version that i just fix : https://github.com/G6KG/tiktok-uploader