TachibanaGeneralLaboratories / download-navi

Free and Open Source software download manager
GNU General Public License v3.0
837 stars 87 forks source link

Bad url error and inability to download *blob* objects. #158

Open Zehra opened 3 years ago

proninyaroslav commented 3 years ago

Can you leave more details?

Zehra commented 3 years ago

The error occurs when attempting to add any values prefixed with blob:

Screenshots demonstrating error: error-on-blob

Source URL providing sample binary blob: javascript.info/blob In javascript.info/blob#blob-as-url a download of sample text "Hello, world!" is generated via JavaScript and comes in the form of a blob, but is unable to be downloaded.

My main concern is blobs seem to be more commonly used to provide downloads.

proninyaroslav commented 3 years ago

A URL generated from JavaScript Blob cannot be converted to a "regular" URL. A blob URL doesn't refer to data that exists on the server, it refers to data that your browser is currently holding in memory for the current page. It will not be available on other pages, it will not be available in other browsers, and it will not be accessible from other download managers. So I can only try to add support to the Navi in-build browser that will be able to fetch the data.

Kita2345 commented 3 years ago

https://github.com/hazuki0x0/YuzuBrowser/commit/992b3a928561d38c03679ca0c7296dd4a29b62cb