Problem loading bear images into bears folder on google drive colab

I made a bears dir in the colab root folder on google drive where my jupyter file is stored, but I can’t get the code to load the bear images in there. On dls = bears.dataloaders(path) I get the error TypeError: 'NoneType' object is not iterable.

I run the following code, and nothing at all happens.

if not path.exists():
path.mkdir()
for o in bear_types:
dest = (path/o)
dest.mkdir(exist_ok=True)
results = search_images_bing(key, f’{o} bear’)
download_images(dest, urls=results.attrgot(‘contentUrl’))

I then run

fns = get_image_files(path)
fns

and I get the output (#0) []

no bears :cry: How do I get bears?