Closed Lucid-0x closed 5 days ago
Facing the same issue as you
If you go over to the tiktok upload page and select the upload button with inspect element (in the part pointed by the arrow) You should see the button class. change the upload class to that in the config.toml file
If you go over to the tiktok upload page and select the upload button with inspect element (in the part pointed by the arrow) You should see the button class. change the upload class to that in the config.toml file
I already tried that but thanks for the suggestion
If you go over to the tiktok upload page and select the upload button with inspect element (in the part pointed by the arrow) You should see the button class. change the upload class to that in the config.toml file
I already tried that but thanks for the suggestion
Hi did you solve your issue?
If you go over to the tiktok upload page and select the upload button with inspect element (in the part pointed by the arrow) You should see the button class. change the upload class to that in the config.toml file
I already tried that but thanks for the suggestion
Hi did you solve your issue?
Not yet but what I found is people who have it work flawlessly are using Mac and even some of them have 0 views when I tried using a VPN to the Netherlands it blocked me but with the USA it was like normal but it didn't work again so it's a weird problem tbh
If you go over to the tiktok upload page and select the upload button with inspect element (in the part pointed by the arrow) You should see the button class. change the upload class to that in the config.toml file
I already tried that but thanks for the suggestion
Hi did you solve your issue?
Not yet but what I found is people who have it work flawlessly are using Mac and even some of them have 0 views when I tried using a VPN to the Netherlands it blocked me but with the USA it was like normal but it didn't work again so it's a weird problem tbh
Hmm that's kinda weird. Also, I use a Mac and I have the problem
ive managed to solve this problem by using the pyautogui libary to move the mouse to the relevent positions, if you just delete everything in the def _post_video(driver) and replace it with pyautogui.moveTo(1100, 300, duration=1) time.sleep(2) pyautogui.scroll(-500) time.sleep(2) pyautogui.moveTo(591, 776, duration=1) time.sleep(2) pyautogui.click(duration=1) time.sleep(4) pyautogui.moveTo(1170, 622, duration=1) time.sleep(3) pyautogui.click(duration=1) time.sleep(5) print("upload sucesfull")
you may have to adjust the x and y values to accommodate your screen resolution but with a little bit of tweaking it should work!
ive managed to solve this problem by using the pyautogui libary to move the mouse to the relevent positions, if you just delete everything in the def _post_video(driver) and replace it with pyautogui.moveTo(1100, 300, duration=1) time.sleep(2) pyautogui.scroll(-500) time.sleep(2) pyautogui.moveTo(591, 776, duration=1) time.sleep(2) pyautogui.click(duration=1) time.sleep(4) pyautogui.moveTo(1170, 622, duration=1) time.sleep(3) pyautogui.click(duration=1) time.sleep(5) print("upload sucesfull")
you may have to adjust the x and y values to accommodate your screen resolution but with a little bit of tweaking it should work!
IT WORKS THANK YOU SO MUCH, YOU ARE A GOAT and this library got me too many ideas to do with and thanks again also good thing, Chrome didn't show the "the browser being run by an automated tool" so I guess this is a good thing and I will read the docs to see if I can make it headless but it totally fine for me without headless... i will leave the issue open in case any one wants to ask questions or the code is improved so we can pull it at the end
ive managed to solve this problem by using the pyautogui libary to move the mouse to the relevent positions, if you just delete everything in the def _post_video(driver) and replace it with pyautogui.moveTo(1100, 300, duration=1) time.sleep(2) pyautogui.scroll(-500) time.sleep(2) pyautogui.moveTo(591, 776, duration=1) time.sleep(2) pyautogui.click(duration=1) time.sleep(4) pyautogui.moveTo(1170, 622, duration=1) time.sleep(3) pyautogui.click(duration=1) time.sleep(5) print("upload sucesfull")
you may have to adjust the x and y values to accommodate your screen resolution but with a little bit of tweaking it should work!
hi ive been trying to get my one to work and this is the problem im getting and im not very good at this stuff and i dont rlly understand what you mean to replace the def _post_video(driver) with the code, i dont understand what and where that is, to me it seems like it is part of code that would be provided in this thread but i dont see any and i am confused please help🙏
I can send a video or photo but what level you are in like have you installed python before can you locate the files of the library thro pip list do you have vs code etc
C:\Users\jbbag\OneDrive\Escritorio\otro tik>tiktok-uploader -v video.mp4 -d "this is my escaped \"description\"" -c cookies.txt [02:39:27] Authenticating browser with cookies [02:39:27] Create a firefox browser instance in headless mode [02:39:38] Authenticating browser with cookies [02:39:41] Posting video.mp4 with description: this is my escaped "description" [02:39:41] Navigating to upload page [02:39:45] Uploading video file [02:39:48] Video should be uploading [02:39:48] Video should be uploaded Message: Stacktrace: RemoteError@chrome://remote/content/shared/RemoteError.sys.mjs:8:8 WebDriverError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:193:5 NoSuchElementError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:511:5 dom.find/</<@chrome://remote/content/shared/DOM.sys.mjs:136:16
[02:40:48] Failed to upload C:\Users\jbbag\OneDrive\Escritorio\otro tik\video.mp4 [02:40:48] A video failed to upload
i got this error
I tried to change the post = "//div[contains(@class, 'btn-post')]" to everything else but all the same error I also tried it in firefox and it has a different upload interface then same error at the post
also one thing I installed it from pip and last update was 24 April... will this make a difference also I tried on windows 10 and kali linux machine both same results