RDRSS icon indicating copy to clipboard operation
RDRSS copied to clipboard

RSS feed to real-debrid.com

RDRSS

Python script which takes torrent magnet links from RSS feed and feeds them to your real-debrid.com account.

Features

  • Adds magnet links from any RSS feed to real-debrid.com
  • Fetches only new links, will ignore already fetched entries.
  • Saves all set up data.

Getting Started

Install

Instalation is done native or using Docker container.

Native

Prerequisites
Instructions

Install the required packages.

pip install -r requirements.txt

Then download the latest release and save the python file somewhere accessible.

Docker

Download the latest release. Build the Docker image from Dockerfile.

Set up

  1. Obtain your real-debrid api token here
  2. Run RDRSS.py --token "<your Real-Debrid api token>" in your shell to save your api token.

Adding RSS feeds

Run RDRSS.py --add "<url to your feed>" to add RSS feed with magnet links (in link tag of RSS feed) that should be added to Real-Debrid.

Listing and removing RSSS feeds

  • Run RDRSS.py --list to see stored RSS feeds and their indexes.
  • Run RDRSS.py --remove <index> to remove stored RSS feed.
  • Run RDRSS.py --select to "select" added files on Real-Debrid.

The script creates "./RDRSSconfig/rdrss.json" config file, which contains:

  • stored token ("authToken" field)
  • stored RSS urls ("rssUrls" field)
  • timestamp for last entry that was added to Real-Debrid ("updated" field)

Usage

Run RDRSS.py to add magnets from new entries in feeds to real-debrid. For help run RDRSS.py -h. It is recommended to run this regularly, for example at startup, using cron job or Automator.

License

This project is licensed under the MIT License - see the LICENSE file for details

Contributions

All contributions are most welcome.