Skip to content

Commit

Permalink
[instagram] add 'count' metadata field (#2979)
Browse files Browse the repository at this point in the history
  • Loading branch information
the-blank-x authored Sep 30, 2022
1 parent 4089bce commit 98f67ae
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gallery_dl/extractor/instagram.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ def items(self):
post.update(data)
files = post.pop("_files")

post["count"] = len(files)
yield Message.Directory, post
for file in files:
file.update(post)
Expand Down

0 comments on commit 98f67ae

Please sign in to comment.