I'm trying to automate updates to Audacity for my team. To automate package updates, I use various scripts to download packages. Basically, it boils down to "download .DMG packages via curl"
However, the download links for Audacity are hidden behind Javascript (and a CDN?) and using curl to download the URL from here -- https://www.fosshub.com/Audacity.html/a ... -2.2.1.dmg -- results in an HTML page being downloaded, not a binary .DMG.
i.e. This URL -- https://www.fosshub.com/Audacity.html/a ... -2.2.1.dmg -- only works in a browser which can do some Javascript handling of the page.
Why are Audacity downloads protected in this way?
Is there an actual direct download URL of the binary package that I can use to automate my updates?
Thanks
-pog
Is there a direct download URL for Audacity packages?
Forum rules
This board is ONLY for general feedback and discussion about Audacity 2.X.
If you require help, or think you have found a "bug", please post on the forum board relevant to your operating system.
Windows
Mac OS X
GNU/Linux and Unix-like
This board is ONLY for general feedback and discussion about Audacity 2.X.
If you require help, or think you have found a "bug", please post on the forum board relevant to your operating system.
Windows
Mac OS X
GNU/Linux and Unix-like
Re: Is there a direct download URL for Audacity packages?
Because bandwidth costs money.poolpog wrote:Why are Audacity downloads protected in this way?
FossHub is the official download partner of Audacity, and they provide millions of downloads each month at no cost to the end user. Their revenue comes from the placement of one single advertisement on each download page. Automated downloads still use their bandwidth, which they have to pay for, but with zero advertising revenue to pay their bills.
FossHub donates a percentage of their advertising revenue to the Audacity project, allowing Audacity to pay its bills.
Under the terms of the GPL license, you are allowed to host the software yourself, provided that you also make the source code available and abide by the terms of the license: https://www.audacityteam.org/about/license/ So one solution is that you pay for your own bandwidth and host the DMG and source code yourselves. Donations to help support Audacity may be made here: https://www.audacityteam.org/donate/
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)
[SOLVED] Re: Is there a direct download URL for Audacity pac
Sounds fine. Thanks.