DanGough / Nevergreen

This module is an alternative to Evergreen, and allows you to find the latest version and download URL for various Windows apps. Evergreen uses API queries to obtain its data whereas this module is more focussed on web scraping. This is more prone to breaking when websites are changed, hence the name.
The Unlicense
72 stars 16 forks source link

Add built-in resolution of URLs #4

Closed DanGough closed 2 years ago

DanGough commented 3 years ago

Add a function inside Get-NevergreenApp to automatically resolve the URL provided by each application script, for example to turn:

https://aka.ms/installazurecliwindows

Into:

https://azcliprod.blob.core.windows.net/msi/azure-cli-2.23.0.msi

I could a;so resolve the filename portion of the URL, and the modified date of the file and output that as an extra field.

This is not straightforward:

I have old scripts that do this already, they just need polishing and integration.

JonathanPitre commented 3 years ago

This is required for Zoom. Evergreen already has something built-in for this.

DanGough commented 2 years ago

Resolve-Uri function now exists, not using it for every result though, just as and when required.