UnderPL
2025-12-08T11:21:41Z

Downloads files, copies URLs and queues magnet links.

Real-Debrid Download Helper

A clean, focused userscript that turns supported filehost links and magnet links into direct Real-Debrid downloads as you browse.

This version supports Real-Debrid only, keeps itself updated automatically. (IT GETS COMPATIBLE FILEHOSTER FROM REAL-DEBRID WEEKLY) and has performance improvements

✨ Features

Real-Debrid integration

Uses:

https://api.real-debrid.com/rest/1.0/hosts/regex (to get the list of supported filehost services)

Unlocks links using your personal Real-Debrid API token.

Inline unlock icons

A small Real-Debrid icon appears next to compatible links (e.g. Uptobox, Rapidgator, FileFactory, Nitroflare, Keep2Share, Mega links through RD’s supported list, etc.).

Actions:

Click → unlock & open

Ctrl+Click → unlock only

Middle-click → unlock & copy URL(s)

Magnet link helper

Adds an icon next to magnet: links.

Sends them to your configured handler or to Real-Debrid’s torrent page.

Auto-start toggle

Choose whether unlocked links open immediately or stay in copy-only mode.

Cleaner link labels

If link text looks like a filename, the script formats it as:
filename.ext @ hostname

🚀 Major Improvements vs Old Versions

This fork is a complete modernization of older multi-debrid scripts.
It is much faster, lighter, and significantly more CPU-friendly.

1. Automatically updates supported filehost list

Retrieves the list of compatible filehosters directly from Real-Debrid.

No outdated hardcoded lists.

No need to check which hosts RD currently supports—the script adapts automatically.

2. Smart caching (instant page loads)

Filehost compatibility data is cached for a week.

Cached data loads instantly on page visit.

If the cache is old, the script updates it quietly in the background.

3. Early filtering → strong CPU reduction

Before testing anything heavy, the script checks whether a link even belongs to a known compatible host.

Irrelevant links are skipped immediately.

Huge performance gain, especially on pages with hundreds of links.

4. Prevents duplicate processing

Links are tagged after being handled.

Avoids repeated work when pages dynamically load more content (infinite scroll, AJAX, etc.).

Lower CPU usage, smoother browsing.

5. Real-Debrid only

Removed all old multi-service code.

Cleaner logic, fewer checks, faster execution.

⭐ Result

This version uses far fewer CPU cycles, handles large pages effortlessly, and stays responsive even on dynamic websites.

🔧 Usage

1. Install the script in Tampermonkey or Violentmonkey.

2. Open any page → userscript menu → “Set RealDebrid API token”.

3. Paste your token from: https://real-debrid.com/apitoken

4. Browse normally—unlock icons will appear automatically next to supported filehost links.

📜 Menu Commands

Set RealDebrid API token

Set custom torrent converter

Toggle auto-start downloads

Force refresh Real-Debrid supported filehost list

🔐 Permissions

@connect real-debrid.com — Required for API access

GM_xmlhttpRequest — Unlock links & get supported hosts

GM_setValue / GM_getValue — Store token, cache data, save settings

GM_setClipboard — Copy unlocked URLs

🙏 Credits

Original script: Debrid Download Helper — by kuehlschrank

Updated multi-debrid variant: by Ramses II

This Real-Debrid–only fork:
Modernized for automatic compatibility updates, major performance improvements, and a simple, RD-exclusive experience.