-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Iterate over user videos not working #81
Comments
I also encountered the same problem. It was working a few months ago, but now it doesn’t. |
yeah right now im using the |
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( tiktokapipy.TikTokAPIError: Data scraping unable to complete in 30.0s (retries: 0) May be they found out and are now blocking the scrapping... |
how 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
The text was updated successfully, but these errors were encountered: