wkaisertexas / tiktok-uploader

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

pip package is outdated #168

Open wxnderer opened 2 months ago

wxnderer commented 2 months ago

I had issues due to old iframe & css classes for Post button installing the package via pip install tiktok-uploader. But everything works flawlessly building directly from the repo.

Here is config.toml diff between pip & github files

➜  tiktok_uploader git:(master) ✗ diff config.toml ~/Dev/tiktok-uploader/src/tiktok_uploader/config.toml 
58,59c58,60
<       post = "//div[contains(@class, 'btn-post')]"
<       post_confirmation = "//div[contains(@class, 'tiktok-modal__modal-wrapper')]//div[contains(@class, 'tiktok-modal__modal-title') and contains(text(), 'Your videos are being posted to TikTok!')]"
---
>       post = "//button[contains(@class, 'TUXButton--primary')]"
>       post_confirmation = "//div[contains(text(), 'Your video has been uploaded')]"
> 
62c63
<       switch = "//*[@id='tux-3']"
---
>       switch = "//*[@id='tux-1']"