alexhua / Aria2-Explorer

An aria2 download task management extension for chromium based browser
https://www.aria2e.com/
BSD 3-Clause "New" or "Revised" License
820 stars 67 forks source link

Skip intercept downlload for those file generate by javascript #50

Closed LancelotLewis closed 3 years ago

LancelotLewis commented 3 years ago

Describe the bug

There is some website generate file by javascript and output this file, let broswer to download it, but those file can't be donwload by aria2, those file should skip by Aria2-for-chorme

To Reproduce Steps to reproduce the behavior:

  1. Go to 'https://lab.sorz.org/tools/asstosrt/'
  2. Choose file
  3. convert and download
  4. See error

Expected behavior

While download file generate by javascript(not a true url link), don't intercept the download, use broswer to download it

Desktop (please complete the following information):

alexhua commented 3 years ago

Thanks for your feedback.

  1. I cannot reproduece the bahavior from your url. The browser just displayed the srt file directly, because the file mime type is text. And there was no download happened.
  2. Lots of cloud storage performs like this. So I think it is necessary to intercept the download triggered by JS.