Image scraper made in PHP, get absolute urls of images and downloads them into img