Skip to content

Commit

Permalink
[artstation] create directories per asset (closes #2136)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikf committed Dec 25, 2021
1 parent 49a50fb commit f3d61de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gallery_dl/extractor/artstation.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@ def __init__(self, match):

def items(self):
data = self.metadata()
yield Message.Directory, data

for project in self.projects():
for asset in self.get_project_assets(project["hash_id"]):
asset.update(data)
adict = asset["asset"]
yield Message.Directory, asset

if adict["has_embedded_player"] and self.external:
player = adict["player_embedded"]
Expand Down

0 comments on commit f3d61de

Please sign in to comment.