首先下载GitHub项目:https://github.com/Threezh1/SiteCopy
进入项目目录后,按照教程上的说明,先安装依赖库
pip3 install -r requirements.txt如果python版本过高,可能会报错,无法安装functools,这时候打开requirements.txt文件,将functools改为functoolsplus即可
复制单个页面
python sitecopy.py -u "http://www.threezh1.com"复制整个网站
python sitecopy.py -u "http://www.threezh1.com" -e