Created
June 16, 2012 01:31
-
-
Save weatheredwatcher/2939540 to your computer and use it in GitHub Desktop.
Simple script that I wrote that utilizes wget to rip a site onto your computer
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# file: rip_site.py | |
import sys | |
import os | |
domain = sys.argv[1] | |
path = sys.argv[2] | |
os.system ('wget --recursive --no-clobber -- page-requisites --html-extension --convert-links --restrict-file-names=windows --domains ' + domain + ' --no-parent ' + path) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment