XakerParser is a tool which allows you to download all magazines from xakep.ru
-
Clone this repo
git clone https://github.com/kill-your-soul/HackerParser
-
Create virtual environment
-
For Windows:
python -m venv .venv
-
For Linux, MacOS:
python3 -m venv .venv
-
-
Activate virtual environment
-
For Windows:
.\.venv\Scripts\activate
-
For Linux, MacOS:
source ./.venv/bin/activate
-
-
Install requirements
-
For Windows:
pip install -r requirements.txt
-
For Linux, MacOS:
pip3 install -r requirements.txt
-
-
Setting environment variables
-
For Windows:
-
Powershell:
$env:login = "YOUR_LOGIN_TO_XAKEP"; $env:password = "YOUR_PASSWORD_TO_XAKEP";
-
cmd:
set login=YOUR_LOGIN_TO_XAKEP set password=YOUR_PASSWORD_TO_XAKEP
-
-
For Linux, MacOS:
-
Bash:
export login="YOUR_LOGIN_TO_XAKEP" export password="YOUR_PASSWORD_TO_XAKEP"
-
-
-
Run script
-
For Windows:
python main.py
-
For Linux, MacOS
python3 main.py
-