hartator / wayback-machine-downloader

Download an entire website from the Wayback Machine.
Other
5.34k stars 709 forks source link

Preserve Timestamps #30

Closed dkl3 closed 8 years ago

dkl3 commented 8 years ago

Hi, I'm using Linux (maybe that has something to do with the timestamps), and when I use this script, it doesn't download the files with the original timestamps. This can be corrected by adding "id_" at the end of a snapshot's timestamp. For example:

http://web.archive.org/web/19970227062641/http://www5.yahoo.com/ (original) http://web.archive.org/web/19970227062641id_/http://www5.yahoo.com/ (with id_)

I want the timestamps preserved for historical purposes--so that I capture the original date as well.

hartator commented 8 years ago

What are you expecting more precisely? To have one directory by timestamp or something like that?

dkl3 commented 8 years ago

To download an entire site with the timestamps preserved, pretty much. Yahoo.com was an example I gave--it's just too big to download

hartator commented 8 years ago

We don't have this feature yet, you are welcome to try to submit a PR!

A quick shortcut now will be to create timestamp directory manually then run waybackmachine downlaoder inside each directory with a supplied timestamp.

On Friday, March 11, 2016, Gazlene notifications@github.com wrote:

To download an entire site with the timestamps preserved, pretty much. Yahoo.com was an example I gave--it's just too big to download

— Reply to this email directly or view it on GitHub https://github.com/hartator/wayback-machine-downloader/issues/30#issuecomment-195504096 .

dkl3 commented 8 years ago

Do you want to be specific on which command I should type in to do that?

hartator commented 8 years ago

mkdir to create directory, -t 2016010123546 to the tool command line.

On Friday, March 11, 2016, Gazlene notifications@github.com wrote:

Do you want to be specific on which command I should type in to do that?

— Reply to this email directly or view it on GitHub https://github.com/hartator/wayback-machine-downloader/issues/30#issuecomment-195519769 .

dkl3 commented 8 years ago

Remind me, are you going to add this feature? I'd love having it.

hartator commented 8 years ago

No, I don't plan to implement this feature at this moment. You are welcome to give a shot a hit though.

On Saturday, March 12, 2016, Gazlene notifications@github.com wrote:

Remind me, are you going to add this feature? I'd love having it.

— Reply to this email directly or view it on GitHub https://github.com/hartator/wayback-machine-downloader/issues/30#issuecomment-195850900 .

dkl3 commented 8 years ago

Maybe I'd try adding -t 2016010123546id (id at the end). Would that work?

hartator commented 8 years ago

Ha, yes sure, this is already working!

On Saturday, March 12, 2016, Gazlene notifications@github.com wrote:

Maybe I'd try adding -t 2016010123546id_ at the end. Would that work?

— Reply to this email directly or view it on GitHub https://github.com/hartator/wayback-machine-downloader/issues/30#issuecomment-195860779 .

dkl3 commented 8 years ago

I guess the issue should close then. :)