TikTok-Api icon indicating copy to clipboard operation
TikTok-Api copied to clipboard

[BUG] - proxies can not utilize

Open VFGcdgt63 opened this issue 1 year ago • 0 comments

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============================================================')>}

VFGcdgt63 avatar Sep 30 '24 08:09 VFGcdgt63