rogerfar / rdt-client

Real-Debrid Client Proxy
MIT License
816 stars 108 forks source link

Feature request: Adding downloads through DLC #68

Open janitory opened 3 years ago

janitory commented 3 years ago

It would be nice, if your rdt-client had support for DLCs. RD offers their decrypter, unrestricting links contained in DLCs via https://real-debrid.com/decryptor or the corresponding API calls /unrestrict/containerFile and /unrestrict/containerLink.

That would be very helpful, when manually adding stuff to download. Sometimes torrents just aren't enough and it'd be neat to have the ability to download non-torrents through RD with your client.

rogerfar commented 3 years ago

I have never worked with DLC's before, can you explain the usecase a bit? Like is there a special client you use or do you download stuff manually in Real Debrid Client?

janitory commented 3 years ago

DLCs are basically containers that package sharehoster links of a certain release together. Sharehoster uploads are most often split into multiple files, which is why you package them into a container to have a single point of access for all links of that release.

There's several clients using DLCs, one of the most common ones is jDownloader. Some releases (mostly older, obscure or non-english ones) are only available on sharehosters. Those releases offer DLCs, which I add to jDownloader, which in turn grabs the links out of the DLC, sends them to RD to resolve and finally downloads them from RD.

Neither Sonarr nor Radarr have jD support, which is why it would be nice to have DLC support in your RD client. I could then just take the link to the container file and manually add it to the rdtclient, similar to a magnet link. RD will resolve the container file and give back the links to the files on RD servers. Plus point here is that you don't even have to wait for RD to finish torrenting the file, DLCs with RD are basically instant-access.

rogerfar commented 3 years ago

Do you have any legal demo example files I can try with? I'm not sure where else to find those kind of files..

janitory commented 3 years ago

Sure thing: https://filecrypt.cc/Container/49D157238E.html

I created a container with a link to google.com. DLCs are encrypted. You can download the above container (top right DLC button) and paste the file into https://real-debrid.com/decryptor to get the contents of the DLC.

If you want a container with an actual link to a sharehoster hosting a file, I created a 1kb txt file and uploaded it to clicknupload.cc - here's a filecrypt link with the container: https://www.filecrypt.cc/Container/10B07E0DCC.html

You can also create a test container containing any link you want here https://filecrypt.cc/Create.html Enter any link or multiple links into it and hit the "Ordner erstellen" button (German for: create folder).