wkaisertexas / tiktok-uploader

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

Is there a way to authenticate the user without cookies? #54

Closed diegotrasobares closed 11 months ago

diegotrasobares commented 1 year ago

Quick question, I am always using the cookies.txt file and works great, but I was wondering if there is another way of login. I have seen that using user and password if kind of hard because of the anti-captcha thing. Thanks in advance!!

RedGeneral-X commented 1 year ago

What google chrome version you use ?

diegotrasobares commented 1 year ago

@RedGeneral-X 117.0.5938.92

RedGeneral-X commented 1 year ago

Video upload normally ?

RedGeneral-X commented 1 year ago

video posted successfully ?

diegotrasobares commented 1 year ago

Yeah I mean everything working great. I was just wondering if there is another way of authenticate the user to upload the video in the account without using the cookies

RedGeneral-X commented 1 year ago

Any idea how to fix ?

C:\Users\vboxuser\Desktop\tiktok-uploader-main>tiktok-uploader -v video.mov -d "this is my escaped \"description\"" -c cookies.txt [23:11:59] ←[92mAuthenticating browser with cookies←[0m [23:11:59] Create a chrome browser instance in headless mode

DevTools listening on ws://127.0.0.1:54319/devtools/browser/525722a0-3c63-43d2-8d93-54946da23d95 [23:12:07] Authenticating browser with cookies [7384:5244:0927/231219.478:ERROR:socket_manager.cc(141)] Failed to resolve address for stun.l.google.com., errorcode: -105 [7384:5244:0927/231220.716:ERROR:socket_manager.cc(141)] Failed to resolve address for stun.l.google.com., errorcode: -105 [23:12:23] Posting video.mov with description: this is my escaped "description" [23:12:23] Navigating to upload page [7384:5244:0927/231228.701:ERROR:socket_manager.cc(141)] Failed to resolve address for stun.l.google.com., errorcode: -105 [7384:5244:0927/231229.308:ERROR:socket_manager.cc(141)] Failed to resolve address for stun.l.google.com., errorcode: -105 [23:13:28] Failed to upload C:\Users\vboxuser\Desktop\tiktok-uploader-main\video.mov [23:13:28] Message: Stacktrace: GetHandleVerifier [0x00ECCEB3+45171] (No symbol) [0x00E59101] (No symbol) [0x00D4BE1D] (No symbol) [0x00D7ED40] (No symbol) [0x00D7F20B] (No symbol) [0x00DAF692] (No symbol) [0x00D9B094] (No symbol) [0x00DADCFA] (No symbol) [0x00D9AE46] (No symbol) [0x00D7675E] (No symbol) [0x00D778FD] GetHandleVerifier [0x011854B9+2897529] GetHandleVerifier [0x011CDC6B+3194411] GetHandleVerifier [0x011C7A41+3169281] GetHandleVerifier [0x00F56130+606960] (No symbol) [0x00E62E7C] (No symbol) [0x00E5F008] (No symbol) [0x00E5F12F] (No symbol) [0x00E51827] BaseThreadInitThunk [0x75F9FCC9+25] RtlGetAppContainerNamedObjectPath [0x77337B1E+286] RtlGetAppContainerNamedObjectPath [0x77337AEE+238]


Error while uploading video

RedGeneral-X commented 1 year ago

What version of python please ? All version of stuff tnx

csrgxtu commented 12 months ago

Quick question, I am always using the cookies.txt file and works great, but I was wondering if there is another way of login. I have seen that using user and password if kind of hard because of the anti-captcha thing. Thanks in advance!!

I think if you don't use coolies, then you have to face the anti-captcha thing.

wkaisertexas commented 11 months ago

Yeah, I tried to even face that anti captcha thing but TikTok doesn't even like you authenticating with a username and password yet alone getting to the step where you are asked to complete the Captcha.