Bash Script to Get Data from Webpage

Bash Script to Get Data from Webpage

Closed - This job posting has been filled and work has been completed.

Job Description

I need someone to create a bash script that does the following:

1. Accepts, via stdin, the URL of a CloudApp image page (example: http://cl.ly/image/240a0k2g0P1w)
2. Outputs, via stdout, the URL of the image on that page. So in the example above it would be http://cl.ly/image/240a0k2g0P1w/Screen%20Shot%202013-08-29%20at%209.03.57%20AM.png

In order to do this, you'll have to make a request to CloudApp to get the page and parse the response for the URL.

Please only apply if you can do this within 4 days. When applying, please specify when you'll be able to finish.