Description Usage Arguments Details motivation
download a static website
1 |
website |
string. url of the website to be cloned, it should be the domain name (sub directory not supported yet). you can't append ?...#..., for example, 'www.foobar.com?haha#xixi' is forbidden, |
dest_dir |
string. No tailling '/' |
force |
|
verbose |
|
we assume:
static http(s) website, no query (?foo=bar), no account authentication
HTML file is always linked by <a> tag
HTML file name all end with '.html', and default file name is 'index.html'
rget('www.cookbook-r.com', 'data-raw'); rget('www.cookbook-r.com', '~/Git/mirrors')
as_url2file()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.