4

I am using Ubuntu 19.10. For automation purposes, I need to download this file with a script.

But I am not able to get the link.

enter image description here

How can I achieve this?

4

You can find the link using the console. Open it with the right click -> examine element -> terminal (or console, don't know how it is in english), and just do like you had done in your gif.

Here is your link : https://extensions.gnome.org/extension-data/user-themegnome-shell-extensions.gcampax.github.com.v38.shell-extension.zip

and screenshot of Firefox terminal for this link :

enter image description here

so your wget command would be :

wget https://extensions.gnome.org/extension-data/user-themegnome-shell-extensions.gcampax.github.com.v38.shell-extension.zip
3

Here is the wget command:

wget https://extensions.gnome.org/extension-data/user-themegnome-shell-extensions.gcampax.github.com.v38.shell-extension.zip
  • How to get the download link for Firefox:

    1. Click Save on the download window and select a download location. You can either save the file or cancel the download.

    2. Click the Downloads button on the Firefox toolbar and select Show All Downloads.

    3. Right-click on your downloaded (or cancelled) file and select Copy Download Link.

  • How to get the download link for Chrome:

    1. Click Save on the download window and select a download location. You can either save the file or cancel the download.

    2. Click Show all on the downloads toolbar at the bottom of the browser.

    3. Right-click on your downloaded (or cancelled) file and select Copy link address.

  • not sure if it works for that particular web page, but this firefox extension gets the links on a web page. sites.google.com/site/linkgopher – pierrely Nov 16 at 3:04
  • @pierrely By visiting the extension's GitHub repository, I saw that it hasn't been updated for 2 years. Could you check if that still works? If yes, then you could add this option as an answer too. I would upvote that! – user3140225 Nov 16 at 10:05
  • yep, linkgopher works for me with Firefox, 19.10 ubuntu. Installed through gnome tweaks through Firefox, probably . though I might not have as I cannot see it there ijn 'available' search. github to source gets me this link addons.mozilla.org/en-US/firefox/addon/link-gopher – pierrely Nov 21 at 1:36

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.