[minor] Removed unused imports
#25276 Thumbnails now detected by chance detection logic.
Previously, they were ignored, now they are compared with their
querystring removed because this changes all the time for amazon urls.