jc3213 / download_with_aria2

The browser extenson for aria2 download utility via JSON-RPC
GNU Lesser General Public License v2.1
60 stars 8 forks source link

it cannot work in some websites #36

Closed yushu280 closed 1 year ago

yushu280 commented 1 year ago

In some websites , it can get the link and send to aria2, but it failed to download. For example , the website "https://kinhdown.com/?Type=APPS".

jc3213 commented 1 year ago

I‘ve tested on that site and found that, downloads from https://api.kinh.cc/KinhDown/WinDowsData/DownLoad.php were broken, and others work fine. 3

I’m using Chromium based browser though.

I wonder if IDM works fine for you?

jc3213 commented 1 year ago

It seems that you can download only if you do not pass any Request Headers for this download.

For example, KinhDown BaiDu Beta for WinDows

It can be downloaded if you add the download through New button on the manager. But it can not be downloaded if you use contextmenu or download capturing

It is not possible to fix the issue on my side, or I will have to rewrite all the whole mechanism.

yushu280 commented 1 year ago

Thanks.

jc3213 commented 1 year ago

Since in 4.0.0, there is an option Prompt Download Window aka 确认下载信息 in Chinese. You can check this, then try to delete Referer from the New Download Window. Or, you can uncheck Forward Request Header aka 转发请求头 in Chinese to work around. Sorry this will not be rule based

yushu280 commented 1 year ago

Thanks,it can work when I donot select the Request Header