[instagram] prevent post 'date' overwriting file 'date' (#3392)
This commit is contained in:
@@ -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)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user