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
71 stars 16 forks source link

Retrieve URI with get-nevergreen return error. THe app is CiscoWebex #70

Open coolaldred opened 3 weeks ago

coolaldred commented 3 weeks ago
image
AScott-WWF commented 3 weeks ago

It appears that the help.webex.com url is not being that reliable - It worked initially for me, but then it didn't:

I've tried visiting in Firefox: WebEx site down

The site could be temporarily unavailable or too busy.

I guess we need to wait for them to fix their site.

Update - It is now working again

N.B. When I did get to the page, I opened the Downloads page and reviewed the 'Learn More' page - I've noticed WebEx now only supports 64-bit installs:

For Webex App for Windows, you must have Windows 10 or later. We only support Windows 64-bit, to check your system type:...

So I guess the Get-CiscoWebex.ps1 script needs updating to remove the 32-bit references (comment out or remove lines 3 & 6)

So, I have commented out line 3 & 6, and with the site working again in PowerShell v5 I get:

Get-NevergreenApp -Name CiscoWebex -Verbose | ft
VERBOSE: GET https://help.webex.com/en-us/article/mqkve8/Webex-App-|-Release-notes with 0-byte payload
VERBOSE: received 446207-byte response of content type text/html; charset=utf-8
VERBOSE: GET https://help.webex.com/en-us/article/nw5p67g/Webex-App-|-Installation-and-automatic-upgrade with 0-byte payload
VERBOSE: received 246675-byte response of content type text/html; charset=utf-8

Name        Architecture Type Version      Uri
----        ------------ ---- -------      ---
Cisco Webex x64          Msi  44.5.0.29672 https://binaries.webex.com/WebexTeamsDesktop-Windows-Gold/Webex.msi
AScott-WWF commented 2 days ago

@DanGough Cisco WebEx no longer supports x86, so the above modification needs making to the Get-CiscoWebEx script to stop NeverGreen searching for an x86 installer. I suspect the Cisco Release Notes page might be unavailable from time-to-time, so this was a transcient issue