Grabbing images from a Website
<p>I wonder if anyone can point me in the right direction.</p>

<p>I have a rather large spreadsheet of product info that needs plugging into a shop. The tricky bit is that the spreadsheet has a link which points to the relevant page on another site which has the products details, and what i need to do is grab that relevant Image and save locally, so I can use later.The reason Why Im thinking down this line is there are 7500 products....</p>

<p>My friend suggested I could maybe use php &amp; filepopen.</p>

<p>The image does have an outer tag ID which I can refer to.</p>

<p>I was thinking of iterating through the spreadsheet this is the type of link I have to work with</p>

<p><a href="http://www.apc.com/resource/include/techspec_index.cfm?base_sku=APCRBC105" rel="nofollow">http://www.apc.com/resource/include/techspec_index.cfm?base_sku=APCRBC105</a></p>

<p>the images themselves are called something random, but I figured I could rename them as I grab them to the more relevant SKU number.</p>

<ul>
<li>so iterate through the spreadsheet by SKU number</li>
<li>identify the image by the relevant id on the page (I'm assumming it's
in the same place     on every page)</li>
<li>save the image while renaming to the correct SKU number</li>
</ul>

<p>Any ideas on how I could go about this ? the thought of visiting each page manually and saving the image 7500 times doesn't seem the best way forward!</p>

<p>Thanks for looking</p>
