Skip to content

ksardas2015/hdrezka-downloader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HDRezka Downloader

Python License Status

HDRezka Downloader is a Python script for searching and downloading movies and series from rezka.ag, standby-rezka.tv, or custom URLs. It supports multi-threaded downloads, quality selection, and episode/season range downloads with a user-friendly CLI interface.


Table of Contents


Features

  • Search: Find movies, series, or anime by title on supported sites.
  • Download Options:
    • Movies in selected quality (e.g., 360p, 720p, 1080p).
    • Series by season, episode range, or entire series.
  • Multi-threading: Download multiple episodes simultaneously (configurable threads).
  • Quality Selection: Choose from available video qualities.
  • File Verification: Skips completed downloads with size validation (95% margin).
  • Supported Sites:

Installation

  1. Clone the Repository:

    git clone https://github.com/ksardas2015/hdrezka-downloader.git
    cd hdrezka-downloader
  2. Install Dependencies:

    pip install -r requirements.txt
  3. Ensure Python 3.8+:

    python --version

Usage

  1. Run the Script:

    python main.py
  2. Follow Prompts:

    • Initial Setup (first run):
      • Set number of download threads (1-20, default: 10).
      • Choose site: rezka.ag, standby-rezka.tv, or custom URL.
      • For standby-rezka.tv or custom URLs, provide dle_user_id and dle_password (see Getting Cookies for Login).
    • Search: Enter a movie/series title or 1 to change settings.
    • Select Title: Choose from search results by number.
    • Choose Quality: Select from available qualities (e.g., 1080p).
    • For Series:
      • Choose translation (if available).
      • Select download type: single season, episode range, season range, or entire series.
    • Output: Files are saved in ../{title}/ as {title}-{quality}.mp4 (movies) or s{season}e{episode}-{quality}.mp4 (series).

Example:

$ python main.py
Current settings:
Download threads: 10
Site URL: https://rezka.ag
Credentials: None
Enter title to search or '1' to change settings: prison break
1 - [Series] Prison Break | Year: 2005-2009
2 - [Movie] Prison Break: The Final Break | Year: 2009
Enter title number: 1
Series | Prison Break
Seasons: 4
Episodes: {1: 22, 2: 22, 3: 13, 4: 21}
...

Configuration

Settings are stored in config.json:

  • threads: Number of concurrent download threads (1-20).
  • site_url: Target site (https://rezka.ag, https://standby-rezka.tv, or custom).
  • credentials: dle_user_id and dle_password for sites requiring login.

Example config.json:

{
    "threads": 10,
    "site_url": "https://rezka.ag",
    "credentials": {}
}

To change settings, enter 1 at the search prompt.


Getting Cookies for Login

For standby-rezka.tv or custom URLs, you need dle_user_id and dle_password cookies. Follow the Cookie Retrieval Guide to obtain them.

Star this repo if you find it useful!

About

A Python script to search and download movies/series from hdrezka

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages