mirror of
https://github.com/mikf/gallery-dl.git
synced 2024-11-23 11:12:40 +01:00
[instagram] prevent post 'date' overwriting file 'date' (#3392)
This commit is contained in:
parent
6b6f886dcf
commit
a001c9c06f
@ -65,6 +65,10 @@ class InstagramExtractor(Extractor):
|
|||||||
|
|
||||||
post["count"] = len(files)
|
post["count"] = len(files)
|
||||||
yield Message.Directory, post
|
yield Message.Directory, post
|
||||||
|
|
||||||
|
if "date" in post:
|
||||||
|
del post["date"]
|
||||||
|
|
||||||
for file in files:
|
for file in files:
|
||||||
file.update(post)
|
file.update(post)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user