AminBhst / brisk

Ultra-fast download manager for desktop
GNU General Public License v3.0
288 stars 19 forks source link

Failed Download from Google Drive #28

Open mantarimay opened 11 months ago

mantarimay commented 11 months ago

Distro: openSUSE Tumbleweed Brisk Version: 1.4.0 Browser: Firefox

Screencast from 2023-11-24 08-36-05.webm

AminBhst commented 11 months ago

I was able to reproduce this issue. Apparently the server responds with a 400 and that's why the download is stuck. I'll look into this further and will let you know if there were any updates. Thanks for bringing this to my attention.

AminBhst commented 11 months ago

Fixed in V1.4.1

mantarimay commented 11 months ago

@AminBhst Thanks for the fast update. Now it works if I download from my drive but I still get an error Could not retrieve file information! If I download from outside my drive, like this link

Kooha-2023-11-24-19-43-51.webm

AminBhst commented 11 months ago

@mantarimay For me the behavior was different. It was able show the download dialog but the file it was going to download was not the expected file (probably some HTML). But surprisingly, it worked totally fine on google chrome albeit the filename had an extra UTF-8 string at the beginning, but it was able to download it. Apparently Firefox does not provide the right download url. Could you also test it on chrome and let me know if the same happens in your case? You're gonna have to manually install the browser extension

mantarimay commented 11 months ago

@AminBhst Yes, it works on Chrome.

Kooha-2023-11-24-21-01-48.webm

AminBhst commented 11 months ago

This is just really weird lol. Since fixing this very odd edge-case requires effort I cannot provide an update for it as fast as I did today. I will investigate it in my spare time but it has become the priority for now since this is an issue that might appear on other websites as well. I'll work on it. If you encounter the same problem on other websites as well please let me know. Thanks

AminBhst commented 9 months ago

@mantarimay Hey. I was just about to continue working on this issue but apparently it was fixed by itself lol. Google drive probably did something on their end. If you could, would you please test it again and let me know if this issue was resolved for you as well?

mantarimay commented 8 months ago

its still happen Screencast from 2024-03-03 19-51-10.webm

AminBhst commented 8 months ago

Yikes!

AminBhst commented 8 months ago

@mantarimay Could you send me the link for that file?

mantarimay commented 5 months ago

it still same like first link up there

i tried v1.4.6, it still have this issue

AminBhst commented 5 months ago

It's a very weird case in general. The problem is that google drive for some reason expects an auth cookie even for public links. Thanks for reminding me though. I will continue working on this. Still not sure how to resolve this since I noticed other download managers have this issue as well (other than IDM). It might need some magic to make it work