Copy download link instead of downloading

General project discussion.
Use this as a last resort if your topic does not fit in any of the other boards but it still on-topic.
Forum rules
This General Discussion board is meant for topics that are still relevant to Pale Moon, web browsers, browser tech, UXP applications, and related, but don't have a more fitting board available.

Please stick to the relevance of this forum here, which focuses on everything around the Pale Moon project and its user community. "Random" subjects don't belong here, and should be posted in the Off-Topic board.
User avatar
Theresnothinghere
Hobby Astronomer
Hobby Astronomer
Posts: 27
Joined: 2023-08-03, 12:19

Copy download link instead of downloading

Unread post by Theresnothinghere » 2025-01-16, 15:16

Is there an addon that would add an option to just copy download link instead of actually downloading the file to this dialog (of cource the two buttons that exist say "save file" and "calnel"):
download_dialog.PNG
So I could paste it somewhere like to a download manager?

In some cases (like gog.com game downloads) copying the link on the website doesn't work because it's not the final one and it has to redirect to the right one first.
The only option to copy the proper link is to start downloading, cancel the download and copy the link, but it takes a lot of time when downloading multiple files.

It would also be nice to be able to just preview the actual link before downloading.

User avatar
therube
Board Warrior
Board Warrior
Posts: 1691
Joined: 2018-06-08, 17:02

Re: Copy download link instead of downloading

Unread post by therube » 2025-01-16, 16:25

You might see if FlashGot! or GetEmAll will see/capture your wanted links, & download or send them to an external download manager.


(Net Transport [download manager] is now free, best I can tell, & works well.)


You might be able to gather the URL from web page source, or Developer Tools -> Network, or similar.

Externally, maybe something like yt-dlp might be able to get it.
Something like:

Code: Select all

C:\> yt-dlp.exe  --get-url  %1 %2 %3
where %1... is the URL of the webpage in question & %2... would be other parameters you might want (or not) included/passed.

User avatar
Theresnothinghere
Hobby Astronomer
Hobby Astronomer
Posts: 27
Joined: 2023-08-03, 12:19

Re: Copy download link instead of downloading

Unread post by Theresnothinghere » 2025-01-16, 18:07

Sadly none of these work for getting this link, the redirect thing is tied to your GOG account (or other) and therefore no external tool has any right to work, because they have no idea that I'm logged in.

GetEmAll can recognize the download correctly, but it only displays the initial link, not the final long one (to gog's cdn).

User avatar
Veit Kannegieser
Apollo supporter
Apollo supporter
Posts: 39
Joined: 2019-03-23, 19:16

Re: Copy download link instead of downloading

Unread post by Veit Kannegieser » 2025-01-16, 23:52

You may user the browser console, using F12 key, network tab, and copy the location, or even the curl command that also copies user agent and other headers.
No idea if it works with GOG.

BenFenner
Astronaut
Astronaut
Posts: 728
Joined: 2015-06-01, 12:52
Location: US Southeast

Re: Copy download link instead of downloading

Unread post by BenFenner » 2025-01-17, 01:15

The OP already described a work-around. They don't want more time-consuming work-arounds when they have to do this repeatedly. They'd like the download dialogue to be slightly more useful. I think it is a novel idea. I don't think a new button is the solution, but perhaps making the already-displayed (if partially obscured) URL be hihlight-able (and thus copy-able) would be an ideal solution. I know, asking for text on a menu prompt to be highlight-able is asking a lot. Maybe even too much! So I can see why the button would come first to mind. Maybe the way would be to add an option in the setting to enable a button such as this. That way it would not throw off users who aren't expecting it, or enrage those who don't want it. ;)

User avatar
Giraffe
Lunatic
Lunatic
Posts: 408
Joined: 2016-11-09, 11:57

Re: Copy download link instead of downloading

Unread post by Giraffe » 2025-01-17, 17:29

Just R-click on the link and there's an option to copy link location.
Windows 7 Pro 32-bit. Comodo Internet security or Comodo Firewall + Avira Anivirus.

BenFenner
Astronaut
Astronaut
Posts: 728
Joined: 2015-06-01, 12:52
Location: US Southeast

Re: Copy download link instead of downloading

Unread post by BenFenner » 2025-01-17, 20:04

Giraffe wrote:
2025-01-17, 17:29
Just R-click on the link and there's an option to copy link location.
Please read threads before replying to them. Or at the very least, read the first post.

User avatar
Giraffe
Lunatic
Lunatic
Posts: 408
Joined: 2016-11-09, 11:57

Re: Copy download link instead of downloading

Unread post by Giraffe » 2025-01-18, 18:10

I've just R-clicked on the link to a BBC video, opened Free Download Manager, clicked +, the link was there, no problem.
Windows 7 Pro 32-bit. Comodo Internet security or Comodo Firewall + Avira Anivirus.

Post Reply