hartator / wayback-machine-downloader

Download an entire website from the Wayback Machine.
Other
5.19k stars 680 forks source link

"wayback_machine_downloader https://www.photopea.com/ -d "C:\Users\School\Downloads\WaybackTest" " doesn't actually save to "C:\Users\School\Downloads\WaybackTest" as it downloads #181

Closed DUOLabs333 closed 3 years ago

DUOLabs333 commented 3 years ago

I used the command "wayback_machine_downloader https://www.photopea.com/ -d "C:\Users\School\Downloads\WaybackTest". However, as it was downloading, I opened up C:\Users\School\Downloads\WaybackTest to check on it. However, wayback_machine_downloader is not saving to there.

DUOLabs333 commented 3 years ago

Oh, ok, fixed it. Did not know that all directories would be considered relative to the working directory.

Bissnet commented 2 weeks ago

Oh, ok, risolto. Non sapevo che tutte le directory sarebbero state considerate relative alla directory di lavoro.

Ciao, scusa, posso chiederti cosa intendi? Sto anche provando a indirizzare il download a una cartella di output specifica, ma senza successo...

DUOLabs333 commented 2 weeks ago

Sorry, it's been so long, I forgot the issue I had --- however, judging by my response, it's likely that the results of the download are in the directory that you are in when you started the command.

Bissnet commented 2 weeks ago

Mi dispiace, è passato così tanto tempo che avevo dimenticato il problema che avevo. Tuttavia, a giudicare dalla mia risposta, è probabile che i risultati del download si trovino nella directory in cui ti trovavi quando hai avviato il comando.

Ok I understand. But in general can I ask you how should I write the string to be able to download the material to a folder of my choice? I tried but it always downloads to the default folder

DUOLabs333 commented 2 weeks ago

What you probably want to do is find the relative path form of the directory (on Linux, you can use relpath) and pass that into -d.

Bissnet commented 2 weeks ago

Quello che probabilmente vuoi fare è trovare il percorso relativo della directory (su Linux, puoi usare relpath) e passarlo a -d.

no, more than anything I would like to specify a folder...