Is a URL available that will always download the most recent version of firefox for a specific OS
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)
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.
The latest Firefox release for all systems and languages is always at https://www.mozilla.org/en-US/firefox/all/
この投稿は James により
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.