I need a PHP-script that should for example go to this Reddit-URL:
http://www.reddit.com/r/funny/
And download all imgurl.com-images to a folder on my server.
I should be able to tell the script how many pages to crawl through and rip images from.
Keep in mind that sometimes the imgurl.com-links go directly to the images and sometimes to the site where the image is displayed.
I need the script to be able to save down both images.
