wkaisertexas / tiktok-uploader

Automatically ⬆️ upload TikTok videos
https://pypi.org/project/tiktok-uploader/
MIT License
399 stars 90 forks source link

Upload video stuck when creating the Chrome browser instance #180

Open victornoleto opened 5 days ago

victornoleto commented 5 days ago

Step by step to reproduce my problem:

Test script:

from tiktok_uploader.upload import upload_video
upload_video('video.mp4', '#fyp @icespicee', 'cookies.txt')

Result: the command gets stuck when creating the Chrome instance

Python-dotenv could not parse statement starting at line 2
[11:06:50] Authenticating browser with cookies
[11:06:50] Create a chrome browser instance 
Vladddd46 commented 1 day ago

@victornoleto maybe internally method waits for some action but thus action fails or takes much time?

Selenium Webdriver Waits

implicit_wait = 5 # seconds explicit_wait = 60 # seconds uploading_wait = 180 # seconds