wanghaisheng / tiktoka-studio-uploader

Schedule and Publish contents erverywhere.Bulk auto video upload and Scheduling & Publishing Effortless for You & Your Entire Team. batch headless upload all major social networks using this ultimate social media scheduler. Fret less, save time, and generate more leads!
https://www.tiktokastudio.com
MIT License
285 stars 53 forks source link

YouTube Visibility Public and Unlist not clickable #64

Closed limiao2 closed 11 months ago

limiao2 commented 1 year ago

Checklist

Question

In youtube_upload.py, around line 848, the button name should be "PUBLIC" instead of "Public".

Secondly, the button click does not work, even "page.get_by_role("radio", name="PUBLIC").is_visible()" is True.

Could you please help resolve this problem? I wonder if this is observed by other users. Thanks in advance!

wanghaisheng commented 1 year ago

actually as you can see line 808 ,I have not separate public to unlisted,public&premiere,public. that means we need 2 more publish policy enum values. right now it should only works for public, line 830 can you check this

wanghaisheng commented 1 year ago

I have create a new branch publish policy for this new feature .can you test against you can set publish policy to 3 or 4 @limiao2

abhishekmj303 commented 1 year ago

@wanghaisheng I also encountered this problem. For me this worked:

I also suggest that in L835, atleast you catch the Exception and log it as it can catch any type, it'll be difficult to debug.

wanghaisheng commented 1 year ago

@ abhishekmj303 3ks