搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

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.