Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mauricelambert/websitecloner
This package implement a Web Site Cloner and his HTTP server to launch it.
https://github.com/mauricelambert/websitecloner
clone pypi-package python3 security website
Last synced: about 10 hours ago
JSON representation
This package implement a Web Site Cloner and his HTTP server to launch it.
- Host: GitHub
- URL: https://github.com/mauricelambert/websitecloner
- Owner: mauricelambert
- License: gpl-3.0
- Created: 2021-03-05T20:19:31.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-03-05T21:32:17.000Z (over 3 years ago)
- Last Synced: 2024-11-07T09:06:11.704Z (8 days ago)
- Topics: clone, pypi-package, python3, security, website
- Language: Python
- Homepage:
- Size: 54.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# WebSiteCloner
## Description
This package implement a Web Site Cloner and his HTTP server to launch it.## Requirements
This package require :
- python3
- python3 Standard Library## Installation
```bash
pip install WebSiteCloner
```## Launcher
- Command line:
```bash
WebSiteCloner -r -d ClonedWebSites -D "localhost:8000" -f "logs.log" -l DEBUG -S http "https://www.google.com/"
WebClonerServer -f "logs.log" -S Apache -I "172.16.89.53" -H Set-Cookie:1278=1278,Set-Cookie:a=a,Test:haha -P 8000 "www.google.com"
```- Python:
```python
import WebSiteCloner
copy: WebSiteCloner.WebSiteCloner = WebSiteCloner.WebSiteCloner(
"https://www.google.com/",
recursive=True,
directory="ClonedWebSites",
replace_domain="localhost:8000",
replace_scheme="http",
loglevel=10,
logfile="logs.log",
)
copy.launch()
```## Links
- [Github Page](https://github.com/mauricelambert/WebSiteCloner)
- [Code Documentation WebSiteCloner](https://mauricelambert.github.io/info/python/security/WebSiteCloner/WebSiteCloner.html)
- [Code Documentation HTTPLogger](https://mauricelambert.github.io/info/python/security/WebSiteCloner/HTTPLogger.html)
- [Download as python executable](https://mauricelambert.github.io/info/python/security/WebSiteCloner.pyz)
- [Pypi page](https://pypi.org/project/WebSiteCloner/)## Licence
Licensed under the [GPL, version 3](https://www.gnu.org/licenses/).