Closed loganbray closed 2 years ago
This seems like a duplicate of #424. We've established that the subdomain fix needs to happen in Adobe's hosted JSON file.
Since it's been almost a month with no resolution from Adobe, perhaps we need to explore alternate ways to get the download URL.
~Perhaps we scrape https://get.adobe.com/reader/~
Driven by too much JavaScript :-(
Looks like this https://github.com/autopkg/novaksam-recipes/blob/master/Processors/AdobeAcrobatReaderDcUpdateInfoProvider.py is probably the best approach right now.
I've tried the download recipe from novaksam , and changed the URL for the processor from https://ardownload2.adobe.com/pub/adobe/reader/mac/%s/%s/%sUpd%s_MUI.dmg
to https://ardownload2.adobe.com/pub/adobe/reader/mac/%s/%s/%s_%s_MUI.dmg
as mentioned in Slack.
This downloads the latest version but it gives a version of 2200120112
which is not the right input to use to check the version number installed (I use a smart group in Jamf-upload recipe with a regex processor).
The AdobeReaderURLProvider
from this repository did always give the right kind of version 22.001.20112
.
Is it possible to use the "new" downloadURL with AdobeReaderURLProvider
so we can have the right version (with the dots in between)?
Or should I maybe do this some other way?
Thanks! Tim
I'm going to dedicate some time to resolving this, but is there a preference on updating this repos's AdobeReaderURLProvider or switching the recipes to use novaksam's AdobeAcrobatReaderDcUpdateInfoProvider?
I'd prefer to fix this repo's recipe.
I was tinkering with making a HEAD
request to the download URL within the AdobeReaderURLProvider processor, and swapping ardownload
out for ardownload2
if the former returns a 503 error. Never committed the code to a branch though.
Describe the problem When running the AdobeReaderURL Provider, the provider receives a URL that returns an error on Adobe's site:
Preferences contents
AutoPkg output
Expected behavior Expected to provide a usable download link. For example: https://ardownload2.adobe.com/pub/adobe/reader/mac/AcrobatDC/2200120112/AcroRdrDC_2200120112_MUI.dmg
If provided with ardownload2 as the subdomain, the link is fully functional, but throws an error if provided with ardownload as the subdomain for the download URL.
Version (please complete the following information):