Open stolenvw opened 1 year ago
I also encountered the same problem. It was working a few months ago, but now it doesn’t.
I think the user function might just be nuked everywhere at the moment. TikTok changed how they handle user pages within the EU, and it's possible they've rolled it out to the rest of the world too. I'll need to look into this more. Related to #77 and #80
I think the user function might just be nuked everywhere at the moment. TikTok changed how they handle user pages within the EU, and it's possible they've rolled it out to the rest of the world too. I'll need to look into this more. Related to #77 and #80
yeah right now im using the data_dump_file
option and just pulling the info i want from the json dump
The problem still persists, I'm running this now and got this error:
/home/usr/.local/lib/python3.8/site-packages/tiktokapipy/api.py:143:
TikTokAPIWarning: Reached navigation timeout. Retrying...response = self._scrape_data(
Traceback (most recent call last):
File "
tiktokapipy.TikTokAPIError: Data scraping unable to complete in 30.0s (retries: 0)
May be they found out and are now blocking the scrapping...
I think the user function might just be nuked everywhere at the moment. TikTok changed how they handle user pages within the EU, and it's possible they've rolled it out to the rest of the world too. I'll need to look into this more. Related to #77 and #80
yeah right now im using the
data_dump_file
option and just pulling the info i want from the json dumpI think the user function might just be nuked everywhere at the moment. TikTok changed how they handle user pages within the EU, and it's possible they've rolled it out to the rest of the world too. I'll need to look into this more. Related to #77 and #80
yeah right now im using the
data_dump_file
option and just pulling the info i want from the json dump
how do you use this 'dump_data_file' could you help me please?
I think the user function might just be nuked everywhere at the moment. TikTok changed how they handle user pages within the EU, and it's possible they've rolled it out to the rest of the world too. I'll need to look into this more. Related to #77 and #80
yeah right now im using the
data_dump_file
option and just pulling the info i want from the json dumpI think the user function might just be nuked everywhere at the moment. TikTok changed how they handle user pages within the EU, and it's possible they've rolled it out to the rest of the world too. I'll need to look into this more. Related to #77 and #80
yeah right now im using the
data_dump_file
option and just pulling the info i want from the json dumphow do you use this 'dump_data_file' could you help me please?
that was a work around for getting 'user.videos' info, there is no fix i know of for data scraping being broken
This is now related to #82. TikTok changed their data model, and I have yet to update this library to match.
can no longer iterate over users videos,
doing
user = await api.user(user_tag)
print(user)
returnsunique_id='user_tag' id=00000000000 nickname='user_tag' sec_uid='MS4wLjABAAAAfLpKG68lfXPA_bObhf2vKGJcFgdjffU5K7ObS7xz_Wg6oZZIZkP0lbnq-nWGtnZv' private_account=False verified=False stats=UserStats(follower_count=1056, following_count=1352, heart_count=4932, video_count=78, digg_count=0)
"id and names removed"
doing a
print(user.videos)
returns<tiktokapipy.util.deferred_collectors.DeferredItemListIterator object at 0x7f5044f4a440>
doing
async for video in user.videos: print(video.id)
just hangsIm in the US
looking at my log last time it worked was on November 21