mirror of
https://github.com/stashapp/stash.git
synced 2026-04-22 15:03:48 +02:00
Fix scraping more than 40 scenes from stash-box (#2638)
This commit is contained in:
parent
d68d022893
commit
8a1c349976
1 changed files with 1 additions and 1 deletions
|
|
@ -143,7 +143,7 @@ func (c Client) FindStashBoxScenesByFingerprints(ctx context.Context, ids []int)
|
|||
func (c Client) findStashBoxScenesByFingerprints(ctx context.Context, scenes [][]*graphql.FingerprintQueryInput) ([][]*models.ScrapedScene, error) {
|
||||
var ret [][]*models.ScrapedScene
|
||||
for i := 0; i < len(scenes); i += 40 {
|
||||
end := i + 100
|
||||
end := i + 40
|
||||
if end > len(scenes) {
|
||||
end = len(scenes)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue