Open cyph-zz opened 1 year ago
I have the same error, only when I receive just a video
Same issue.
Seems like it...
same like it .
It worked for me after changing
await api.create_sessions(ms_tokens=[ms_token], num_sessions=1, sleep_after=3
to
await api.create_sessions(ms_tokens=[ms_token], num_sessions=1, sleep_after=3, headless=False)
Adding "headless=False" will show the browser window but it's the only thing working right now.
I hope this is the problem you mean
Dear all,
I tried the trending API and got an exception on this playwright._impl._api_types.Error: TypeError: Cannot read properties of undefined (reading 'frontierSign')
investigating the code it is located here File "/Users/XXXXXXXXX/anaconda3/lib/python3.11/site-packages/TikTokApi/api/trending.py", line 43, in videos resp = await Trending.parent.make_request( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
A call on an URL does not work anymore : the URL is https://www.tiktok.com/api/recommend/item_list/ and when accessing it directly : I have a logging issue : status 10201
{"log_pb":{"impr_id":"xxxxxxxxxxxxxxxxxxxx"},"statusCode":10201,"statusMsg":"","status_code":10201,"status_msg":""}
Is the old API closed ? Tiktokapi may be adapted to a login process ?
Thanks