homebysix / recipe-robot

A kick ass tool for creating AutoPkg recipes.
Apache License 2.0
301 stars 28 forks source link

Accept download web pages in addition to direct download URLs #89

Open homebysix opened 8 years ago

homebysix commented 8 years ago

Example of how this enhancement might work:

  1. You'd input a download webpage to Recipe Robot (e.g. http://www.netspotapp.com/downloads.html)
  2. Recipe Robot would parse that page for automatic downloads (e.g. http://www.netspotapp.com/download/NetSpot.dmg), and if one exists, use that as the download_url for subsequent inspection.
  3. If no automatic download exists, Recipe Robot would parse the page for zip, pkg, and dmg links, and use that as the download_url for subsequent inspection.
  4. Recipes would be created that leverage the derived download_url.

Thanks to @nmcspadden for the suggestion.