Skip to content
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

Preserve timestamps #3

Open
xaviripo opened this issue Nov 8, 2020 · 2 comments
Open

Preserve timestamps #3

xaviripo opened this issue Nov 8, 2020 · 2 comments

Comments

@xaviripo
Copy link
Owner

xaviripo commented Nov 8, 2020

Add an option to preserve the timestamps of the original pictures.

@jesulopez
Copy link

jesulopez commented May 30, 2021

I think is a very useful feature. Is it already implemented? I have downloaded several images and the timestamp is the date that I have downloaded.
Thanks in advance

@xaviripo
Copy link
Owner Author

xaviripo commented Jun 5, 2021

Hi, sorry for the delayed response.

It is implemented (I had to double check because I didn't even remember implementing it), it isn't documented yet.

You can add the --name flag followed by the date format you desire. See the doc comment right above the parseFormatString function for details on how it works.

Nonetheless, Facebook sometimes does not return any timestamp. In that case, the program will warn you and use the date when the picture has been downloaded. This seems to happen with publicly available pictures, as far as I can test. It's hard to tell.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants