TikTok-Api
TikTok-Api copied to clipboard
[BUG] - proxies can not utilize
proxies = { 'server': 'http://' } await api.create_sessions( ms_tokens=ms_token, num_sessions=1, sleep_after=1, proxies=[proxies], headless=False, starting_url="https://www.tiktok.com" )
Always get an error message : Error during session creation: net::ERR_INVALID_AUTH_CREDENTIALS at https://www.tiktok.com/ =========================== logs =========================== navigating to "https://www.tiktok.com/", waiting until "load"
done, _ = await asyncio.wait(
{
self._connection._transport.on_error_future,
callback.future,
},
return_when=asyncio.FIRST_COMPLETED,
)
Print this done Always get an error message :{<Future finished exception=Error('net::ERR_INVALID_AUTH_CREDENTIALS at https://www.tiktok.com/\n=========================== logs ===========================\nnavigating to "https://www.tiktok.com/", waiting until "load"\n============================================================')>}