jc3213 / download_with_aria2

The browser extenson for aria2 download utility via JSON-RPC
https://jc3213.github.io/download_with_aria2/
GNU Lesser General Public License v2.1
65 stars 9 forks source link

some sites are not supported #72

Closed ghost closed 1 year ago

ghost commented 1 year ago

I've noticed some sites aren't supported by the extension. I'm not sure what's causing this issue. Everything goes normally, but the download is a 14KB to 16KB HTML document instead of the actual file. some sites in which this happens are gofile.io and workupload.com, but I've also seen this happening in some other sites.

the HTML document can be seen if you open the downloaded file as text. seems to be the underlying HTML of the webpage.

jc3213 commented 1 year ago

It should be some kind of anti-leech protection, since the extension passes the Cookies and Referer correctly to aria2c

You can change the User Agent and then try again. If your problem can't be fixed, I'm afraid maybe I can't fix this on my side.

The mechanism of this extension or others like this is: The browser starts the download, then the extension will check then capture it, cancel the download from browser, and send all info to aria2c to start a new download.

Some sites that doesn't support continuous download, or the download url can only be accessed once are not compatible with this extension.

You can try Enable Capture Web Request though, but I don't know if it will work or not.

ghost commented 1 year ago

my user agent is the default mozilla firefox one. I'll see if enabling Capture Web Request solves it

ghost commented 1 year ago

I tried capturing web request and some other options such as Forward Request Headers, but none of them worked

jc3213 commented 1 year ago

That's maybe the server doesn't support continuous download, or the download url is limited to be only accessed for 1 time by the server.

From my side I can't solve the problem, but only suggest you to add them to the exclusion rules

If you can provide other download manager programs that support these sites, I'll have a look into their browser extension source code to find the solution

ghost commented 1 year ago

I'm not aware of any extension that works the same as this one, so I'll close it as not planned for now