-
-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Instagram] Different dates (times) for filename and post #6081
Comments
and restore 'date' metadata for GraphQL file results, which got accidentally removed in a001c9c
There's now a |
Thank you for the update. It's indicating an error on line 216: It seems that I added |
A similar issue was mentioned here: #4600
There's a difference of one or two seconds between the filename datetime gallery-dl outputted and the real datetime from the post.
Based on what I observed, this only happens for SOME posts with more than one photo.
For posts with only one photo or one video:
Example: https://www.instagram.com/p/C-xuZTmtNQR/
Using flag -K, gallery-dl outputted the following dates for directory and filenames.
The dates for both directory and filenames are the same in this case.
However, for some posts with more than one photo, the dates are different:
Example: https://www.instagram.com/p/C-BJm6VScvU/?img_index=1
There's a one second difference in this case.

Checking the source code for the post date, it shows the same datetime as the directory date gallery-dl outputted.
Another example with two seconds difference:
https://www.instagram.com/p/C9koxyoqgQX/?img_index=1
But there are also cases when gallery-dl outputted same datetimes for posts with more than one photo:
Example: https://www.instagram.com/p/C-nUW1STK1c/?img_index=1
And so when I use
--filename "{date:%Y-%m-%d %H.%M.%S}.{extension}"
, sometimes gallery-dl output the wrong datetime.Is there any way I can output the directory date instead of the filename date?
The text was updated successfully, but these errors were encountered: