Pesquisar no apoio

Evite burlas no apoio. Nunca iremos solicitar que telefone ou envie uma mensagem de texto para um número de telefone ou que partilhe informações pessoais. Por favor, reporte atividades suspeitas utilizando a opção "Reportar abuso".

Saber mais

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

  • 3 respostas
  • 1 tem este problema
  • 1 visualização
  • Última resposta por 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?

Todas as respostas (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/

Modificado por James a

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.