kill-your-soul / XakepParser

XakerParser

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

XakerParser


Languages

Language:Python 100.0%