Skip to content

kill-your-soul/XakepParser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Xakep parser

XakerParser is a tool which allows you to download all magazines from xakep.ru

Prerequisites

  1. Python version 3.8 or later
  2. pip or pip3
  3. Subscription for xaker.ru

Instructions

Installing requirements

  1. Clone this repo

    git clone https://github.com/kill-your-soul/HackerParser
  2. Create virtual environment

    • For Windows:

      python -m venv .venv
    • For Linux, MacOS:

      python3 -m venv .venv
  3. Activate virtual environment

    • For Windows:

      .\.venv\Scripts\activate
    • For Linux, MacOS:

      source ./.venv/bin/activate
  4. Install requirements

    • For Windows:

      pip install -r requirements.txt
    • For Linux, MacOS:

      pip3 install -r requirements.txt

Running the script

  1. 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"
  2. Run script

    • For Windows:

      python main.py
    • For Linux, MacOS

      python3 main.py

Releases

No releases published

Packages

No packages published

Languages