autopkg / nstrauss-recipes

Public AutoPkg recipes
23 stars 27 forks source link

Pearson/OnVUE.download.recipe - SEARCH_URL now returns a 404 #57

Closed Daz-wallace closed 1 year ago

Daz-wallace commented 1 year ago

Hi,

Just looking to maybe use the OnVue recipes you've kindly supplied but these now fail with the below error: The following recipes failed: com.github.nstrauss.download.OnVUE Error in com.github.nstrauss.download.OnVUE: Processor: SimpleJSONParser: Error: 'osx_latest_version'

Chucking the Search URL (https://op-prd-1.pvue2.com/proctorservst/api/v3/info/onvue) in a web browser or via Curl now returns a 404 error: { "statusCode": 404, "message": "Resource not found" }

I'm continuing to poke away at things but thought I'd raise it as so fair I'm not having much luck!

Thanks Daz

nstrauss commented 1 year ago

Thanks, Pearson. I poked around a little. Best I could find is https://system-test.onvue.com/system_test?customer=pearson_vue redirects to a download page with the current version, but isn't easily parseable since it's all JavaScript. Debugging the app itself and looking at strings didn't help much. It's an Electron app, doing Electron app stuff.

Since I don't have a need for this recipe at the moment, I don't know much more time I can dedicate. There's probably a way to spelunk the version release feed, but I can't find (yet).

Daz-wallace commented 1 year ago

Thanks @nstrauss that was the clue that I needed. Looks like the following changes are needed:

PR incoming!

nstrauss commented 1 year ago

Resolved with https://github.com/autopkg/nstrauss-recipes/pull/58