Skip to content

Commit

Permalink
Don't remove first set
Browse files Browse the repository at this point in the history
  • Loading branch information
missionfloyd committed Sep 19, 2024
1 parent 98d931d commit 6e36b1f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion gallery_dl/extractor/girlsreleased.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ def _pagination(self, url):
json = self.request(url.format(self.root, self.id, page)).json()
if not json["sets"]:
return sets
sets += json["sets"][1:]
offset = 0 if page == 0 else 1
sets += json["sets"][offset:]
page += 1

def items(self):
Expand Down

0 comments on commit 6e36b1f

Please sign in to comment.