What error are you getting.
Did you get the Bing API key and populate it few cell above?
If the search worked and if you print(ims)
, you should get a URL, something like
['http://3.bp.blogspot.com/-S1scRCkI3vY/UHzV2kucsPI/AAAAAAAAA-k/YQ5UzHEm9Ss/s1600/Grizzly%2BBear%2BWildlife.jpg']
If you don’t have a Bing API key, use the function search_images_ddg(search term)
instead.
See: Downloading images | Practical Deep Learning for Coders
see: L.attrgot() for attrgot discussion