Add auto installation scripts

This commit is contained in:
monosans
2022-10-16 15:52:23 +03:00
parent 7d0cba36ff
commit 3909f8df5f
3 changed files with 16 additions and 4 deletions
+10 -4
View File
@@ -13,13 +13,19 @@ For a version that uses Python's built-in `logging` instead of [rich](https://gi
You can get proxies obtained using this script in [monosans/proxy-list](https://github.com/monosans/proxy-list).
## Usage
## Installation and usage
- Install [Python](https://python.org/downloads) (Windows 7 requires Python 3.8.X). During installation, be sure to check the box `Add Python to PATH`.
- Download and unpack [the archive with the program](https://github.com/monosans/proxy-scraper-checker/archive/refs/heads/main.zip).
- Install dependencies from `requirements.txt` (`cd` into the unpacked folder and run `python -m pip install -U -r requirements.txt` on the command line).
- Edit `config.ini` according to your preference.
- Run `main.py` (`python main.py` on the command line).
- Install dependencies and run the script. There are 2 ways to do this:
- Automatic:
- On Windows run `start.cmd`
- On Unix-like OS run `start.sh`
- Manual:
1. `cd` into the unpacked folder
1. Install dependencies with the command `python -m pip install -U -r requirements.txt`
1. Run with the command `python main.py`
## Folders description
@@ -34,7 +40,7 @@ Geolocation format is `ip:port|Country|Region|City`.
## Buy me a coffee
Ask for details in [Telegram](https://t.me/monosans) or [VK](https://vk.com/id607137534).
Ask for details on [Telegram](https://t.me/monosans) or [VK](https://vk.com/id607137534).
## License
Executable
+3
View File
@@ -0,0 +1,3 @@
python -m pip install -U -r requirements.txt
python main.py
Pause
Executable
+3
View File
@@ -0,0 +1,3 @@
#!/bin/sh
python -m pip install -U -r requirements.txt
python main.py