1. Doug Hellmann
  2. AstronomyPictureOfTheDay
  3. Issues

Issues

Issue #1 resolved

Downloading images other than APOD

Jeff Ramnani
created an issue

I'm running this on OS X Lion, and for some reason, the "Get Image URL's from Webapge" action was listing image links to external sites higher than apod.nasa.gov in its results.

Editing the following "Run Shell Script" step solves this:

{{{

If the page links to more than one image, we only want the first one.

Filter out non-APOD URL's.

cat - | grep 'apod' | head -n 1 }}}

Comments (3)

  1. Log in to comment