Open MONNNNNNNSTER opened 12 months ago
Getting same issue
up
Up ! It seems that TikTok changed something on their website, I can't find any working external services (video downloader ...). Any idea on how long it will take to be patched ?
Anyone got it working?
Have a look here at my api https://rapidapi.com/reversecoders/api/tiktok4free
Update was done today and you are able to scrape all user relevant data.
Expected behavior
Trying to get the best 10 videos of an account, woprked eprfectly 2 weeks ago, now i get this error :
Error Trace (if any)
PS C:\Users\axelp\autosoustitre> python.exe .\scrapTiktok.py TikTokApi.user(username='faitesentrerlesvictimes', user_id='None', sec_uid='None') Traceback (most recent call last): File "C:\Users\axelp\autosoustitre\scrapTiktok.py", line 46, in
videos_sorted_data = asyncio.run(user_example("faitesentrerlesvictimes", 10))
File "C:\Users\axelp\AppData\Local\Programs\Python\Python310\lib\asyncio\runners.py", line 44, in run
return loop.run_until_complete(main)
File "C:\Users\axelp\AppData\Local\Programs\Python\Python310\lib\asyncio\base_events.py", line 649, in run_until_complete
return future.result()
File "C:\Users\axelp\autosoustitre\scrapTiktok.py", line 17, in user_example
videos_list = [video async for video in user.videos(count=30)]
File "C:\Users\axelp\autosoustitre\scrapTiktok.py", line 17, in
videos_list = [video async for video in user.videos(count=30)]
File "C:\Users\axelp\AppData\Local\Programs\Python\Python310\lib\site-packages\TikTokApi\api\user.py", line 112, in videos
await self.info(**kwargs)
File "C:\Users\axelp\AppData\Local\Programs\Python\Python310\lib\site-packages\TikTokApi\api\user.py", line 76, in info
resp = await self.parent.make_request(
File "C:\Users\axelp\AppData\Local\Programs\Python\Python310\lib\site-packages\TikTokApi\tiktok.py", line 429, in make_request
raise EmptyResponseException()
TypeError: TikTokException.init() missing 2 required positional arguments: 'raw_response' and 'message'