Real-Debrid icon indicating copy to clipboard operation
Real-Debrid copied to clipboard

Limited concurrent downloads on certain hosters: Queue.

Open stefanpante opened this issue 11 years ago • 0 comments

Implement a Queue

Instead of using new tabs to start new downloads, we should use the downloads option for extensions. This way we can actually implement a Queue to circumvent the limited concurrent downloads on certain hosters. The Callback function can be used to get the next download

{ "name": "My extension", ... "permissions": [ "downloads" ], ... }

We can use the following method to start our downloads: chrome.downloads.download(object options, function callback)

options = { url: "http://your.url/to/download", filename: "suggested/filename/with/relative.path" }

https://developer.chrome.com/extensions/downloads#method-download

stefanpante avatar Aug 09 '14 11:08 stefanpante