This is a complex problem and maybe beyond an Arduino
( depending on how you do it ).
There is Yahoo scripting , with which you can mine web pages , plus some IOT type sites that could do the donkey work , then access the image file with the Arduino
I suspect the Arduino is too slow/small for this sort of job - maybe a pi.
Someone may come along who has done this or has better knowledge.