Skip to content

Commit

Permalink
Return models as array
Browse files Browse the repository at this point in the history
  • Loading branch information
missionfloyd committed Sep 24, 2024
1 parent 4399f28 commit 1170928
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion gallery_dl/extractor/girlsreleased.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def images(self, id):
"title": json["name"] or json["id"],
"id": json["id"],
"site": json["site"],
"model": ", ".join(model for _, model in json["models"])
"model": [model for _, model in json["models"]]
}
yield Message.Directory, data
for image in json["images"]:
Expand Down
4 changes: 2 additions & 2 deletions test/results/girlsreleased.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

"id" : "32332",
"title" : "Monadiko",
"model" : "Mia Sollis",
"model" : ["Mia Sollis"],
"site" : "sexart.com"
},

Expand All @@ -28,7 +28,7 @@

"id" : "124943",
"title" : "124943",
"model" : "Iveta",
"model" : ["Iveta"],
"site" : "errotica-archives.com"
},

Expand Down

0 comments on commit 1170928

Please sign in to comment.