diff --git a/README.md b/README.md index a90179c..5ffa7c9 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/start.cmd b/start.cmd new file mode 100755 index 0000000..b5f75c6 --- /dev/null +++ b/start.cmd @@ -0,0 +1,3 @@ +python -m pip install -U -r requirements.txt +python main.py +Pause diff --git a/start.sh b/start.sh new file mode 100755 index 0000000..e3fb8c7 --- /dev/null +++ b/start.sh @@ -0,0 +1,3 @@ +#!/bin/sh +python -m pip install -U -r requirements.txt +python main.py