autopkg / timsutton-recipes

AutoPkg recipes
16 stars 37 forks source link

Update BlackMagicURLProvider #75

Closed bochoven closed 4 years ago

bochoven commented 4 years ago

Make it work in autopkg 2.x using URLGetter

timsutton commented 4 years ago

Thanks for your patience while I ignored all my PRs for quite a while :D

I was getting this when trying to run it:

Processing DaVinciResolve14.download...
BlackMagicURLProvider
BlackMagicURLProvider: Filtering json 'name' attributes with regex ^DaVinci Resolve (?P<version>14(\.\d+)*)( Update)*$
BlackMagicURLProvider: Found download URL for DaVinci Resolve, version 14.3.1: Bad Request
URLDownloader
Command '['/usr/bin/curl', '--silent', '--show-error', '--no-buffer', '--dump-header', '-', '--speed-time', '30', '--location', '--url', 'Bad Request', '--fail', '--output', '/Users/tsutton/Library/AutoPkg/Cache/local.download.DaVinciResolve14/downloads/tmp5_ztqw9z']' returned non-zero exit status 3.
Failed.
Receipt written to /Users/tsutton/Library/AutoPkg/Cache/local.download.DaVinciResolve14/receipts/DaVinciResolve14-receipt-20200521-162530.plist

Does this still work for you @bochoven?