Skip to content

wolfking2/siteclone

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 

Repository files navigation

siteclone

A python script to clone a webpage. It's that simple.

Setup:

git clone https://github.com/benjibobs/siteclone.git

pip install requests

Usage:

python3 clone.py <url> <directory>

The url argument is optional, the script will ask for a url if one is not provided.

The directory is optional, the script will ask for a directory name where to clone the site if one is not provided.

Relative paths containing with '../' are replaced with 'dotdot/' to prevent directory traversal/sandbox escape/whatever you want to classify it as :)

About

A python script to clone a web page with resources

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%