wkaisertexas / tiktok-uploader

Automatically ⬆️ upload TikTok videos
https://pypi.org/project/tiktok-uploader/
360 stars 84 forks source link

Same PR as 20 minutes ago, but fixed the formatting issues #92

Closed andrewCohn closed 8 months ago

andrewCohn commented 9 months ago

Now my changes should be more clear. Sorry about that.

CHANGES Commented out a timeout which always threw an exception Commented out the split removal window call (I couldn't trigger the split window, and it also threw a timeout trying to find and remove it) Could not get uploading on chrome to work on any of the 3 PCs I tried (even manually), so I switched the webdriver to firefox. Changed relevant Xpaths in config.tml for firefox and the new UI changes Added a feature to upload.py to track description writing progress, which requires TQDM (I have a lot of hashtags) Clicking the post button didn't seem to do anything? Changed the click to the JS equivalent, which worked. Added an assload of debug lines (Helps diagnose timeout exceptions) ADDRESSES

89 #83 #82 #74

wkaisertexas commented 9 months ago
            logger.debug(green("Andrew Isn't Crazy"))
wkaisertexas commented 9 months ago
            logger.debug(green("Andrew Isn't Crazy: The Squeakuel"))
TheIndependentBrotherhood commented 8 months ago

Hi ! I was able to checkout your version, but for it to work all the way through (i.e. close the browser, not just upload a video), I had to modify the config.toml file

image

TheIndependentBrotherhood commented 8 months ago

Now I have the "Manage your posts" publication confirmation button ... :) But same XPath for post button ("[...]div[6]/div[2]/button")

andrewCohn commented 8 months ago

It would seem ByteDance has continued updating the tiktok desktop UI since I made this PR. My semester has started, and I am a bit too busy with my classes to keep maintaining this fork. If someone else wants to fork this PR and keep fixing it, by all means, go ahead, but I probably won't be touching this for a while.