# บัญชีบริการ Debrid

A debrid service, such as Real-Debrid, AllDebrid, Premiumize, TorBox or Mega-Debrid, is a paid account that downloads files from file hosts on its own servers. It hands back a plain direct link, without the host's waits, speed caps and captchas. With your account in VDM, a link from a host your service supports is unlocked through the service, then downloaded by VDM like any file: all its connections, pause and resume.

VDM supports five services: **Real-Debrid**, **AllDebrid**, **Premiumize**, **TorBox** and **Mega-Debrid**.

> **ทดลอง:** พัฒนาจากเอกสาร API สาธารณะของแต่ละบริการ แต่ยังไม่ได้ยืนยันกับบัญชีแบบชำระเงินจริง นอกจากนี้ยังตรวจสอบคำตอบของ AllDebrid กับ API จริงโดยใช้คีย์สาธิตสาธารณะจากเอกสาร ซึ่งตอบกลับด้วยข้อมูลตัวอย่าง ไม่ใช่ไฟล์จริง หากใช้บัญชีแล้วพบว่าสิ่งใดทำงานไม่ได้ โปรด[แจ้งปัญหา](https://github.com/mikailhossenimran/voltdownloadmanager/issues) (ห้ามใส่โทเค็นหรือคีย์ในรายงาน)

## เพิ่มบัญชีของคุณ

1. **ตัวเลือก → บัญชี → เพิ่ม...**
2. Pick the service, then either: - **Sign in in the browser** (Real-Debrid, AllDebrid and TorBox): VDM shows a code and opens the service's page (TorBox's is also at `tor.box/link`). Type the code there (AllDebrid's page already has it) and allow VDM. The dialog notices on its own. - **User name** and **Password**, then **Sign in** (Mega-Debrid). Mega-Debrid blocks your connection for some minutes after a few wrong passwords. Each sign-in replaces the account's last one at Mega-Debrid, so another program signed in to the same account makes VDM sign in again on its next link, on its own. VDM itself signs in only when its token is refused, so its checks and its downloads at once don't end each other's. VDM keeps your password (in the keychain, see below) to sign in again. - or paste your **API token** (**Find my token** opens the service's page that shows it), then **Use the token**. Premiumize signs in this way only: paste the API key from its Account page. On Mega-Debrid, make an application under **My Account → API Key** and paste its key; VDM then never needs your password, and doesn't keep it: the key is all it stores, and you can delete the key on that page at any time. Mega-Debrid doesn't say whether a key's account is premium, so the Accounts list says **the service doesn't say whether it is premium** for it; a free account's links are refused when you download them.
3. VDM checks the account and shows its name and whether it is premium. **OK** keeps it.

ลำดับในรายการคือลำดับที่ระบบจะลองใช้บัญชี ลิงก์จะผ่านบัญชีแรกที่บริการรองรับโฮสต์นั้น เลือก **ขึ้น** หรือ **ลง** เพื่อเปลี่ยนลำดับ

**ดาวน์โหลดลิงก์โฮสต์ไฟล์ที่รองรับผ่านบัญชีเหล่านี้** ใช้เปิดหรือปิดการทำงานทั้งหมด

## ดาวน์โหลดทอร์เรนต์ผ่านบริการ

เลือก **ส่งทอร์เรนต์และลิงก์แม่เหล็กไปยังบัญชีแรกแทนที่จะส่งไปยังเพียร์** ใน **ตัวเลือก → บัญชี** จากนั้นลิงก์แม่เหล็ก (เพิ่ม URL, เบราว์เซอร์, คลิปบอร์ด, การลากและวาง) หรือไฟล์ `.torrent` (ปุ่ม **ดาวน์โหลดเดี๋ยวนี้** หรือ **ภายหลัง** ของ เพิ่มทอร์เรนต์) จะถูกส่งไปยังบัญชีแรกในรายการที่บริการรองรับทอร์เรนต์ (Mega-Debrid ยังไม่รองรับ):

1. บริการจะดาวน์โหลดทอร์เรนต์บนเซิร์ฟเวอร์ของตนเอง รายการจะแสดงความคืบหน้า เช่น **45% ที่ Real-Debrid** หากบริการมีทอร์เรนต์นั้นอยู่แล้ว ก็จะพร้อมใช้งานทันที
2. VDM then downloads its files from the service over HTTP, as any download, into the **Torrents** folder. A torrent of several files gets a folder of its own there.
3. Once every file is here, VDM removes the torrent from the account's list. On Premiumize, only the transfer's record goes: its files stay in your cloud.

- คอมพิวเตอร์จะไม่เชื่อมต่อกับเพียร์ของทอร์เรนต์
- ไฟล์ `.torrent` จะถูกส่งเป็นลิงก์แม่เหล็ก (ซึ่งมีแฮช ชื่อ และตัวติดตาม) ระบบจะดาวน์โหลดไฟล์ทุกไฟล์ของทอร์เรนต์ เพราะบริการจะดึงทอร์เรนต์ทั้งหมด
- เมื่อหยุดดาวน์โหลดหรือเริ่ม VDM ใหม่ การดาวน์โหลดจะดำเนินต่อจากจุดที่ค้างไว้ โดยไม่ส่งทอร์เรนต์ให้บริการซ้ำ และไม่ดาวน์โหลดไฟล์ที่ดาวน์โหลดไปแล้วซ้ำ
- หากชื่อไฟล์ทำให้ไฟล์ไปอยู่นอกโฟลเดอร์ของทอร์เรนต์ (`../`) การดาวน์โหลดจะหยุดและไม่มีการเขียนไฟล์ใดๆ
- หากบริการรับทอร์เรนต์ไม่ได้ (ไม่มีเพียร์ ขนาดใหญ่เกินไป หรือถูกปฏิเสธ) รายการจะแสดงเหตุผล

## จะเกิดอะไรขึ้นกับลิงก์

- Add URL, the clipboard, the browser's **Download with Volt Download Manager** link menu, and batch downloads go through the account when its service supports the link's host.
- A download the browser had already started (VDM took it over from the browser) is downloaded as it is: the host is already sending the file.
- ตัวเลือก `get` และ `resume` ในบรรทัดคำสั่งใช้บัญชีเดียวกัน และระบุว่า `through Real-Debrid`; ส่วน `--direct` จะดาวน์โหลดจากที่อยู่นั้นโดยตรง ([บรรทัดคำสั่ง](https://vdm.mikaillab.com/th/help/command-line.html))
- The list keeps the host's link. The direct link is never shown or copied: the services forbid sharing it. It lives only in the download's resume data, and when it expires VDM asks the service for a new one.
- A link the service can't give says why in the list: sign in again, premium needed, the host is down (VDM tries again later), the file is gone, and so on.
- AllDebrid sometimes needs a while to prepare a link. VDM waits for it, up to 10 minutes, and the list says so.
- TorBox first downloads the file to its own servers (at once when it has it already). VDM waits for it, up to an hour, and the list says how far it is, such as **40% at TorBox**. Once the download is done, or taken off VDM's list, it leaves your account's list of web downloads on TorBox; a paused one keeps its place there, to go on with.
- VDM asks each service well under its request limit: Real-Debrid at most 120 times a minute (it allows 250), AllDebrid 300 (it allows 600), Premiumize 60 (it publishes no limit), TorBox 120 (it allows 300 a minute, and 60 new web downloads an hour), Mega-Debrid 60 (it allows 50 a second). When a service says it's asked too often, VDM waits.

## ดาวน์โหลดลิงก์เดียวโดยตรงแทน

- **Download File Info** says which account a link goes through: **Download through Real-Debrid (your account)**, ticked. Untick it to download that one link directly, without the service. VDM looks the address up again the new way, so the name and size shown are the ones you will get. A download the browser had already started shows it unticked.
- สำหรับการดาวน์โหลดที่มีอยู่ในรายการแล้ว **คุณสมบัติของไฟล์** มีตัวเลือกเดียวกันข้างการเข้าสู่ระบบ: **ผ่าน Real-Debrid** สามารถเปลี่ยนแปลงได้ในขณะที่การดาวน์โหลดไม่ได้ทำงาน การเริ่มต้นครั้งถัดไปจะใช้วิธีใหม่ และดำเนินการต่อจากสิ่งที่ดาวน์โหลดไปแล้วเมื่อไฟล์เป็นไฟล์เดียวกัน
- VDM keeps the choice with the download, after a restart too.

## บัญชีของคุณ กฎของคุณ

- ใช้บัญชีของคุณเองเท่านั้น การแชร์บัญชีหรือลิงก์จะละเมิดข้อกำหนดของบริการและอาจทำให้บัญชีถูกระงับ
- VDM sends the service only the links you download through it, and your account's token or key (on Mega-Debrid, or its user name and password). Nothing else. Mega-Debrid's documentation puts them in the address; VDM sends them in the request's body instead, where no proxy or server log keeps them.
- VDM ships no list of hosts or links; the service says which hosts it supports.

## ที่เก็บข้อมูลการลงชื่อเข้าใช้

In the system's keychain, as are Sites Logins' passwords and the proxy's. VDM's settings keep only a reference to it. **Options → Accounts** says where they are on your computer.

- **Windows**: in **Windows Credential Manager** (Control Panel → Credential Manager → Windows Credentials), as entries named `Volt Download Manager/…`, for your Windows account. They roam with your profile, as VDM's settings folder does.
- **Linux**: in the system keyring through the Secret Service (GNOME Keyring, KeePassXC, KDE's wallet with its Secret Service on), its default collection, as items labelled `Volt Download Manager: …`. VDM never unlocks a locked keyring and never asks for its password: when the keyring is locked (some desktops that log in on their own leave it locked) or there is none (many tiling window managers), the sign-ins stay in VDM's settings, in a data folder only you may read (0700), as before.
- **macOS**: in the login keychain (**Keychain Access**), service `Volt Download Manager`. macOS may ask once whether VDM may use them, after an update.
- **สำเนาแบบพกพา** จะไม่เขียนอะไรออกนอกโฟลเดอร์: จะเก็บข้อมูลไว้ในการตั้งค่าของตัวเอง (Windows: เข้ารหัสสำหรับบัญชี Windows ของคุณ)

Sign-ins saved by an earlier version move to the keychain on the next start; the settings keep the old copy until the keychain has it. When the keychain can't be read (a locked keyring), the account shows **in the locked keyring** and comes back once the keyring is unlocked and VDM starts again. A removed account's entry leaves the keychain with it.

**Uninstalling** on Windows with **remove the download list and settings** removes VDM's entries from Credential Manager too. Elsewhere, or to remove them yourself: `voltdownloadmanager --forget-sign-ins` (only VDM's own entries).

VDM never writes the token to its event log, crash reports, the automation API or the command line's output.

## ที่เกี่ยวข้อง

- [ดาวน์โหลดวิดีโอ](https://vdm.mikaillab.com/th/help/video.html)
- [แกลเลอรีรูปภาพ](https://vdm.mikaillab.com/th/help/galleries.html)
- [ทอร์เรนต์](https://vdm.mikaillab.com/th/help/torrents.html)
- [ทอร์เรนต์และความปลอดภัยของคุณ](https://vdm.mikaillab.com/th/help/torrent-security.html)

[แก้ไขหน้านี้บน GitHub](https://github.com/mikailhossenimran/voltdownloadmanager/edit/main/docs/debrid.md) [รายงานปัญหาเกี่ยวกับหน้านี้](https://github.com/mikailhossenimran/voltdownloadmanager/issues/new?template=website.yml&title=Website%3A%20Debrid%20service%20accounts&page=https%3A//vdm.mikaillab.com/help/debrid.html) [ประวัติหน้า](https://github.com/mikailhossenimran/voltdownloadmanager/commits/main/docs/debrid.md)

ฟรี, โอเพนซอร์ส, ไม่มีโฆษณา, ไม่มีช่วงทดลองใช้

[Download Volt Download Manager](https://vdm.mikaillab.com/th/download.html)
