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

Set file modified time to value reported by wayback machine #220

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

davidrg
Copy link

@davidrg davidrg commented Mar 28, 2022

The wayback machine provides the modified time reported by the original server at time of archival via the x-archive-orig-last-modified response header. This change sets the saved files modified time to the value reported by the wayback machine. This may be a partial fix for #174 (doesn't set creation time).

I don't know ruby at all but this seems to work for me.

The wayback machine provides the modified time reported by the original server at time of archival via the x-archive-orig-last-modified response header. This change sets the downloaded files modified time to that value if available.
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

Successfully merging this pull request may close these issues.

1 participant