mirror of
https://github.com/mikf/gallery-dl.git
synced 2024-11-23 03:02:50 +01:00
[artstation] create directories per asset (closes #2136)
This commit is contained in:
parent
49a50fb2eb
commit
f3d61de18d
@ -29,12 +29,12 @@ class ArtstationExtractor(Extractor):
|
||||
|
||||
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"]
|
||||
|
Loading…
Reference in New Issue
Block a user