Archive Website: Difference between revisions

From artserver wiki
(Created page with "This is a simple script to create a static-files's archive from website. <source lang="bash"> #!/bin/sh WEBSITE=$1 wget --limit-rate=200k --no-clobber --convert-links --rando...")
 
No edit summary
Line 1: Line 1:
This is a simple script to create a static-files's archive from website.
This is a simple script to create a static-files's archive from website.


<source lang="bash">
<source lang="bash">
Line 7: Line 8:
</source>
</source>


Run: <code>./download-website.sh http://oooooooooo.io</code> Note: don't use http:, https:, www., just use the domain name of the website.
 
Run:  
<code>./download-website.sh http://oooooooooo.io</code>
 
Note: don't use http:, https:, www., just use the domain name of the website.
 


[[Section::Code Notes]]
[[Section::Code Notes]]
[[Date::2018]]
[[Date::2018]]

Revision as of 11:20, 1 September 2019

This is a simple script to create a static-files's archive from website.


#!/bin/sh
WEBSITE=$1
wget --limit-rate=200k --no-clobber --convert-links --random-wait -r -p -E -e robots=off -U mozilla $WEBSITE


Run: ./download-website.sh http://oooooooooo.io

Note: don't use http:, https:, www., just use the domain name of the website.


Code Notes 2018

... more about "Archive Website"
Code Notes +
Date"Date" is a type and predefined property provided by Semantic MediaWiki to represent date values.
2018 +