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

Fix IrfanView download URL #38

Closed JonathanPitre closed 1 year ago

DanGough commented 1 year ago

Sorry, can't accept this as it seems the betanews site does not currently have the latest version. Latest is 4.6.2 which came out today (what a good time to review the code!), but this is pulling a download for 4.6.0 from betanews. It might catch up in a day or so, but I can't have an inconsistency like this.

Until we can get a better alternative, at least the current URLs in the production version are the 'official' ones and can at least be clicked on manually to obtain the file.

JonathanPitre commented 1 year ago

Dan if I recall properly the current implementation is buggy and download a blank file, please verify.

On Fri, Dec 9, 2022, 16:50 Dan Gough @.***> wrote:

Closed #38 https://github.com/DanGough/Nevergreen/pull/38.

— Reply to this email directly, view it on GitHub https://github.com/DanGough/Nevergreen/pull/38#event-8002246057, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADSO5QKJDVJ7VJXXKJ2D6B3WMOSRJANCNFSM5ROE4MYA . You are receiving this because you authored the thread.Message ID: @.***>

DanGough commented 1 year ago

The URL opens a website which then triggers a script to get the actual download. So whilst you can't do a simple Invoke-WebRequest on it, it can be downloaded manually through the browser.

Happy to switch to an alternative mirror, but at the time of writing the IrfanView homepage and main source have a newer version than the one implemented in this PR.