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
Can't get all clips of a broadcaster #133
Comments
Additional: Run the same code against kraken, and you get 11 pages also then the code stops |
I have reproduced this issue, PLS send help. |
For people trying to get all clips on channels with more than 1k clips, in the mean time you can use the If you want better coverage you should also additionally make smaller time range requests to get more clips as time ranged requests are broken and randomly leave out many clips (#48, #80). Also the docs for |
Yep I was wondering why I was able to jump approximately 10 minutes in timestamps before the clip disappeared from the GET request. I guess I'll have to find a better way to get a more exact list of "new" clips. My original plan to get any new clips that the client hadn't gotten yet was to continuously use |
@JMTK My workaround was to pull the last 24 hours of clips - after paging through weeks and weeks worth of data for the first import (you may need to reduce this depending on how many you are extracting this data for) and using the "UNIQUE" attribute in my SQL Table Column and appended my query with |
To close the loop on this, this was identified as a constraint of the service for Clips. As a result, you can only fetch 1000 per query (using the cursor) before it fails. This has been documented on the dev site here: https://dev.twitch.tv/docs/api/reference#get-clips. |
Maybe you should check that your documentation uses the appropriate punctuation |
Flagged to the team, thanks for the heads up @llacb47. |
Circling back, the documentation error will be fixed tomorrow. Thanks again for the flag! |
So in order to get all clips of a broadcaster, one would have to specify a time range and step backwards for each time range? |
Correct, @BarryCarlyon. |
Brief description
Similar to #18 I get to page 11 and the code stops fetching clips
How to reproduce
Expected behavior
Get all clips for that broadcaster.
Screenshots
End of page 11:
Additional context or questions
The text was updated successfully, but these errors were encountered: