Is there a reliable way to get the URL of the .deb package file? I am running
Ubuntu but I try to avoid adding any additional repositories for a number of
reasons. I’d like to be able to download the .deb package file via wget/curl in
an automated fashion.
On the Insync Downloads page, I tried selecting Ubuntu 18.10 in the dropdowns,
clicking the Download button, and monitoring network traffic to see where the
package is coming from and was able to identify it’s URL:
That said, trying to build this URL in a shell script seems worrisome for two
- The cloudfront sub-domain doesn’t seem reliable (I.E. It could change)
- Despite selecting 18.10, which should be cosmic, the package is named artful
Is there a more reliable way to get the URL of the .deb package file that
corresponds to my distrobution and version? And if not, would it be possible to
make the download URLs of these deb package files more reliable?