lolchive
local liminal page archiver
Use
the fantoccini archiver uses fantoccini which for these purposes use the geckodriver the basic archiver just uses reqwest
FantocciniArchiver
use FantocciniArchiver
let url = "https://www.merriam-webster.com/dictionary/fantoccini";
//use the connection string to pass in, this is where geckodriver is running
let connection_string = "http://localhost:4444";
//set up absolute pathe to where you want it to store archive
let home_dir = home_dir.expect;
let new_dir = format!;
//create archiver
let archiver = new.await;
//archive
let path = archiver.create_archive.await;
//path to the archive returned
println!;
//close archiver
let _ = archiver.close.await;
Basic Archiver
use BasicArchiver
let url = "https://www.rust-lang.org/";
let home_dir = home_dir.expect;
let new_dir = format!;
println!;
let path = create_archive.await;
println!;