wget -p -k https://codepad.co/snippet
# This downloads a page localy
# -p collects everything needed to display the page as is (images, etc.)
# -k converts the links to be local so that the page can be browsed locally
wget --mirror -p -k -w 2 http://www.reddit.com
# This mirrors a site locally
# --mirror follows links and downloads everything
# -w 2 waits two seconds between http requests... this will help stop you from being banned
# -p collects everything needed to display the page as is
# -k converts the links to be local so that the page can be browsed locally
# Both of these seem to miss strangely referenced style sheets or web fonts so look out for those.
Mirror a site or a page locally. This allows you to browse the site offline or run a copy on another server.
Be the first to comment
You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.