Open dam2452 opened 1 week ago
When running the same command on Windows, I get a slightly different outcome. The login still works, and the upload page is reached, but the video fails to upload with a different error message. Here's the output:
PS C:\GIT_REPO\tiktak-generator> tiktok-uploader -v video.mp4 -d "lololo w" -c C:\Users\dam2452\Downloads\cookies.txt
[16:17:54] Authenticating browser with cookies
[16:17:54] Create a chrome browser instance in headless mode
DevTools listening on ws://127.0.0.1:56982/devtools/browser/7fe12260-b8c3-49eb-bf93-f02a7521854e
[16:17:58] Authenticating browser with cookies
[16:18:00] Posting video.mp4
with description: lololo w
[16:18:00] Navigating to upload page
[INFO] [DSH] chrome.exe
[INFO] [DSH] Creating WndMsg Listener Window
[INFO] [DSH] Get number of capabilities
[INFO] [DSH] Get stream caps: 0
[INFO] [DSH] Get stream caps: 1
[INFO] [DSH] Get stream caps: 2
[INFO] [DSH] Get stream caps: 3
[INFO] [DSH] Get stream caps: 4
[INFO] [DSH] Get stream caps: 5
[INFO] [DSH] Get stream caps: 6
[INFO] [DSH] Get stream caps: 7
[INFO] [DSH] Get stream caps: 8
[INFO] [DSH] Get stream caps: 9
[INFO] [DSH] Get stream caps: 10
[INFO] [DSH] Destroying parent object
[INFO] [DSH] Destroying WndMsg Listener Window
[INFO] [DSH] Destroyed window
[INFO] [DSH] Unregistered window class
[30468:32556:1008/161802.340:ERROR:socket_manager.cc(147)] Failed to resolve address for stun.l.google.com., errorcode: -105
[30468:32556:1008/161802.737:ERROR:socket_manager.cc(147)] Failed to resolve address for stun.l.google.com., errorcode: -105
[30468:32556:1008/161802.816:ERROR:socket_manager.cc(147)] Failed to resolve address for stun.l.google.com., errorcode: -105
Created TensorFlow Lite XNNPACK delegate for CPU.
Attempting to use a delegate that only supports static-sized tensors with a graph that has dynamic-sized tensors (tensor#58 is a dynamic-sized tensor).
[16:19:01] Failed to upload C:\GIT_REPO\tiktak-generator\video.mp4
[16:19:01] Message:
Stacktrace:
GetHandleVerifier [0x00857143+25587]
(No symbol) [0x007EA2E4]
(No symbol) [0x006E2113]
(No symbol) [0x00726F62]
(No symbol) [0x007271AB]
(No symbol) [0x00767852]
(No symbol) [0x0074ABE4]
(No symbol) [0x00765370]
(No symbol) [0x0074A936]
(No symbol) [0x0071BA73]
(No symbol) [0x0071C4CD]
GetHandleVerifier [0x00B34C63+3030803]
GetHandleVerifier [0x00B86B99+3366473]
GetHandleVerifier [0x008E95F2+624802]
GetHandleVerifier [0x008F0E6C+655644]
(No symbol) [0x007F2C9D]
(No symbol) [0x007EFD68]
(No symbol) [0x007EFF05]
(No symbol) [0x007E2336]
BaseThreadInitThunk [0x762B7BA9+25]
RtlInitializeExceptionChain [0x7750C0CB+107]
RtlClearBits [0x7750C04F+191]
-------------------------
Error while uploading video
-------------------------
PS C:\GIT_REPO\tiktak-generator>
i get the same error, using chrome on Mac OS. It seems like it can't locate the iframe in the function "_change_to_upload_iframe"
I am also getting a similar error, in which it gets stuck right after Navigating to upload page
(im on Mac OS). It is able to open the upload page successfully while being logged in (https://www.tiktok.com/tiktokstudio/upload?lang=en
) right before timing out and throwing the error. Could this be because the UI of the uploads page changed since the latest release ?
[23:44:35] Authenticating browser with cookies
[23:44:35] Create a chrome browser instance
[23:44:36] Authenticating browser with cookies
[23:44:37] Posting /Users/farestabet/Downloads/test.mp4
with description: this is my description
[23:44:37] Navigating to upload page
[23:45:39] Failed to upload /Users/farestabet/Downloads/test.mp4
[23:45:39] Message:
Stacktrace:
0 chromedriver 0x0000000102870500 cxxbridge1$str$ptr + 1917112
1 chromedriver 0x0000000102868890 cxxbridge1$str$ptr + 1885256
2 chromedriver 0x0000000102478538 cxxbridge1$string$len + 89424
3 chromedriver 0x00000001024bc878 cxxbridge1$string$len + 368784
4 chromedriver 0x00000001024f6b7c cxxbridge1$string$len + 607124
5 chromedriver 0x00000001024b1374 cxxbridge1$string$len + 322444
6 chromedriver 0x00000001024b1fc4 cxxbridge1$string$len + 325596
7 chromedriver 0x0000000102837d2c cxxbridge1$str$ptr + 1685732
8 chromedriver 0x000000010283c530 cxxbridge1$str$ptr + 1704168
9 chromedriver 0x000000010281ce08 cxxbridge1$str$ptr + 1575360
10 chromedriver 0x000000010283ce00 cxxbridge1$str$ptr + 1706424
11 chromedriver 0x000000010280df94 cxxbridge1$str$ptr + 1514316
12 chromedriver 0x000000010285962c cxxbridge1$str$ptr + 1823204
13 chromedriver 0x00000001028597ac cxxbridge1$str$ptr + 1823588
14 chromedriver 0x0000000102868530 cxxbridge1$str$ptr + 1884392
15 libsystem_pthread.dylib 0x000000018f7edf94 _pthread_start + 136
16 libsystem_pthread.dylib 0x000000018f7e8d34 thread_start + 8
I do get a similar issue. tiktok-uploader -v final_video_001.mp4 -d "this is my escaped \"description\"" -c cookies.txt [09:47:51] Authenticating browser with cookies [09:47:51] Create a chrome browser instance in headless mode
DevTools listening on ws://127.0.0.1:59007/devtools/browser/1b51d308-b53d-426c-9c25-cc047fc320ed [09:47:56] Authenticating browser with cookies [09:47:58] Posting final_video_001.mp4 with description: this is my escaped "description" [09:47:58] Navigating to upload page [33052:20308:1014/094800.655:ERROR:socket_manager.cc(147)] Failed to resolve address for stun.l.google.com., errorcode: -105 [33052:20308:1014/094800.900:ERROR:socket_manager.cc(147)] Failed to resolve address for stun.l.google.com., errorcode: -105 [33052:20308:1014/094801.039:ERROR:socket_manager.cc(147)] Failed to resolve address for stun.l.google.com., errorcode: -105 Created TensorFlow Lite XNNPACK delegate for CPU. Attempting to use a delegate that only supports static-sized tensors with a graph that has dynamic-sized tensors (tensor#58 is a dynamic-sized tensor). [09:48:59] Failed to upload C:\Users\Jens\OneDrive\Desktop\amazonvideo\final_video_001.mp4 [09:48:59] Message: Stacktrace: GetHandleVerifier [0x00475523+24195] (No symbol) [0x0040AA04] (No symbol) [0x00302093] (No symbol) [0x00346ED2] (No symbol) [0x0034711B] (No symbol) [0x003876F2] (No symbol) [0x0036AB84] (No symbol) [0x00385280] (No symbol) [0x0036A8D6] (No symbol) [0x0033BA27] (No symbol) [0x0033C43D] GetHandleVerifier [0x0073CE13+2938739] GetHandleVerifier [0x0078EC69+3274185] GetHandleVerifier [0x005009C2+594722] GetHandleVerifier [0x00507EDC+624700] (No symbol) [0x004137CD] (No symbol) [0x00410528] (No symbol) [0x004106C5] (No symbol) [0x00402CA6] BaseThreadInitThunk [0x77177BA9+25] RtlInitializeExceptionChain [0x774FC0CB+107] RtlClearBits [0x774FC04F+191]
I have a similar issue as well running on Linux: [16:19:05] Authenticating browser with cookies [16:19:05] Create a chrome browser instance in headless mode [16:19:08] Authenticating browser with cookies [16:19:11] Posting 0.mp4 with description: #2024 #reddit #redditstories #AI #storytime #redditreadings #askreddit #AITA #fyp #ViralStories #TrendingTales #DailyStories #FascinatingStories #USA [16:19:11] Navigating to upload page [16:20:14] Failed to upload /home/anthony/AutoPost/0.mp4 [16:20:14] Message: Stacktrace:
I'm using the tiktok-uploader library and encountered an issue while trying to upload a video. The login seems to work correctly, as I can see the upload page when running with headless=False. However, the script gets stuck on the upload page for a few seconds and then throws the following error: