You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I get this error while running the example provided (user_example.py) with or without providing ms_token:
Traceback (most recent call last):
File "C:\Users\vd\tik\user_example.py", line 26, in <module>
asyncio.run(user_example())
File "C:\Python312\Lib\asyncio\runners.py", line 194, in runreturn runner.run(main)
^^^^^^^^^^^^^^^^
File "C:\Python312\Lib\asyncio\runners.py", line 118, in runreturnself._loop.run_until_complete(task)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Python312\Lib\asyncio\base_events.py", line 687, in run_until_completereturn future.result()
^^^^^^^^^^^^^^^
File "C:\Users\vd\tik\user_example.py", line 12, in user_exampleawait api.create_sessions(ms_tokens=[ms_token], num_sessions=1, sleep_after=3)
File "C:\Users\vd\tik\venv\Lib\site-packages\TikTokApi\tiktok.py", line 275, in create_sessionsawait asyncio.gather(
File "C:\Users\vd\tik\venv\Lib\site-packages\TikTokApi\tiktok.py", line 192, in __create_sessionawait page.goto(url)
File "C:\Users\vd\tik\venv\Lib\site-packages\playwright\async_api\_generated.py", line 8969, in gotoawaitself._impl_obj.goto(
File "C:\Users\vd\tik\venv\Lib\site-packages\playwright\_impl\_page.py", line 553, in gotoreturnawaitself._main_frame.goto(**locals_to_params(locals()))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\vd\tik\venv\Lib\site-packages\playwright\_impl\_frame.py", line 145, in gotoawaitself._channel.send("goto", locals_to_params(locals()))
File "C:\Users\vd\tik\venv\Lib\site-packages\playwright\_impl\_connection.py", line 59, in sendreturnawaitself._connection.wrap_api_call(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\vd\tik\venv\Lib\site-packages\playwright\_impl\_connection.py", line 520, in wrap_api_callraise rewrite_error(error, f"{parsed_st['apiName']}: {error}") fromNoneplaywright._impl._errors.Error: Page.goto: net::ERR_ADDRESS_INVALID at https://www.tiktok.com/
Call log:
navigating to "https://www.tiktok.com/", waiting until "load"
Hi,
I get this error while running the example provided (
user_example.py
) with or without providingms_token
:Disabling
timeout
inpage.goto()
didn't help.Using latest Tiktokapi 6.5.2 with Python 3.12 on Windows 11
The text was updated successfully, but these errors were encountered: