Fix image scraper

For some pages instead of image URL, the URL of page was getting picked up