-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
[QUESTION] How to retrieve more than 30 videos #43
Comments
There currently isn't a great way to get all 40+ videos. The way that is currently implemented is to increase the |
@Russell-Newton Thank you for your reply,I will try this parameter |
* Create functions for executing API calls of 4 kinds: * comment/list/ - video comments * post/item_list/ - user posts * challenge/item_list/ - popular videos tagged with a challenge * related/item_list/ - videos related to this one * Opens up potential future resolutions for #35, #38, #40, #43, and #44
I think the changes I've been working on with v0.2 might fix this issue. It could be worth checking out: pip install -U git+https://github.com/Russell-Newton/TikTokPy.git@v0.2-overhaul with TikTokAPI() as api:
user = api.user("tiktok")
for video in user.videos:
# do something This should iterate over all of a user's videos. You can limit this using the @RenHong-HC if you would be willing to try out the WIP changes to see if it works, it could be very helpful for solving this issue. The changes work for me, but it's worth checking if it works for you. |
@Russell-Newton v0.2 resolved the issue. Thank you!! |
Awesome! I'll close this issue once I release v0.2. |
This issue should be resolved in the official version 0.2.0 release. I'm closing this issue as resolved. |
I have two needs now
The code for the first case is as follows
The video data can be obtained normally, but there are only 30 videos.
How can I get all videos?
The code for the second case is as follows
The video data can be obtained normally, but there are only 40+ videos.
How can I get all videos?
The text was updated successfully, but these errors were encountered: