搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Is a URL available that will always download the most recent version of firefox for a specific OS

  • 3 回覆
  • 1 有這個問題
  • 1 次檢視
  • 最近回覆由 cpa199

more options

Hi,

I'm writing automation scripts that include the installation of browsers and I want them to be future proof without maintenance. Part of the script downloads the browser, and I'd like this to always be the most recent version. Chrome allows for this with a url like "https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm". As you can see this doesn't specify the version number, rather current and stable.

I've checked the download links on the firefox site and they are all of the format "https://download.mozilla.org/?product=firefox-32.0-SSL&os=linux64&lang=en-US" which require you specify the version, rather than latest.

Is there a way to get the latest in a generic manner?

Hi, I'm writing automation scripts that include the installation of browsers and I want them to be future proof without maintenance. Part of the script downloads the browser, and I'd like this to always be the most recent version. Chrome allows for this with a url like "https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm". As you can see this doesn't specify the version number, rather current and stable. I've checked the download links on the firefox site and they are all of the format "https://download.mozilla.org/?product=firefox-32.0-SSL&os=linux64&lang=en-US" which require you specify the version, rather than latest. Is there a way to get the latest in a generic manner?

所有回覆 (3)

more options

Sadly the closest I could find is:

http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/latest/linux-x86_64/en-US/

I can't find an official mozilla page that would directly link to the latest zip. Even the nightlies have a version number.

more options

The latest Firefox release for all systems and languages is always at https://www.mozilla.org/en-US/firefox/all/

由 James 於 修改

more options

Thanks but this isn't what I need. I need a URL that directly downloads with wget so I can automate it. This takes you to a page that contains links. I'd have to scrape the page to find the one I want, and while that isn't impossible it is a huge over-complication for something that should really be pretty simple.