Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LucidLin URL Changed #150

Open
markkenny opened this issue Apr 15, 2024 · 1 comment
Open

LucidLin URL Changed #150

markkenny opened this issue Apr 15, 2024 · 1 comment

Comments

@markkenny
Copy link

LucidLink/Lucid.pkg.recipe.yaml

It's now https://www.lucidlink.com/download and the packages are numbered.

https://d3il9duqikhdqy.cloudfront.net/latest/osx/lucid-2.6.5463.pkg

I'm working on my version so offer a fix, but my autoPKG yaml skills are only marginally better than my regex ;-)

@markkenny
Copy link
Author

Got a working version as yaml.

Input:
  NAME: Lucid
  SEARCH_URL: https://www.lucidlink.com/download
  SEARCH_PATTERN: lucid-[0-9\.]*.pkg
  DOWNLOAD_URL: https://d3il9duqikhdqy.cloudfront.net/latest/osx

Process:
  - Processor: URLTextSearcher
    Arguments:
      re_pattern: "%SEARCH_PATTERN%"
      url: "%SEARCH_URL%"

  - Processor: URLDownloader
    Arguments:
      url: "%DOWNLOAD_URL%/%match%"
      filename: "%NAME%.pkg"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant