Aggiorna README.md
This commit is contained in:
parent
06a29f4640
commit
cae521a336
1 changed files with 22 additions and 0 deletions
22
README.md
22
README.md
|
|
@ -21,6 +21,28 @@ Website Downloader CLI is a **tiny, pure-Python** site-mirroring tool that lets
|
||||||
|
|
||||||
## 🚀 Quick Start
|
## 🚀 Quick Start
|
||||||
|
|
||||||
|
```sh
|
||||||
|
sudo -s
|
||||||
|
cd /usr/local
|
||||||
|
mkdir python
|
||||||
|
https://forgit.patachina.it/Fabio/website-downloader.git
|
||||||
|
cd website-downloader
|
||||||
|
sudo apt install python3-full python3-venv -y
|
||||||
|
python3 -m venv .venv
|
||||||
|
source .venv/bin/activate
|
||||||
|
pip install -r requirements.txt
|
||||||
|
|
||||||
|
python website-downloader.py \
|
||||||
|
--url https://harsim.ca \
|
||||||
|
--destination harsim_ca_backup \
|
||||||
|
--max-pages 100 \
|
||||||
|
--threads 8
|
||||||
|
|
||||||
|
deactivate
|
||||||
|
cp downloadsite.sh /usr/local/bin
|
||||||
|
exit
|
||||||
|
```
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# 1. Grab the code
|
# 1. Grab the code
|
||||||
git clone https://github.com/PKHarsimran/website-downloader.git
|
git clone https://github.com/PKHarsimran/website-downloader.git
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue