what method are you using for IMG search? ddg_images() ? If you are using DDGs python library you will get a list of URLs and fetch the image using the key ‘image’ i.e. imgs_req.itemgot(‘image’)
attrgot is a method used by the BING library.
You must cast the List constructor helper by the fastai library to get a simple list from the ddg_image query.
Hi and thanks for your reply, the problem I was having was I was reading the search_images_bing in which references the attrgot but I was using the search_images_ddg instead which give me the results automatically like you said.