Thank you for ur answer. However I have now empty list of results from the clean code, which I cant even see the result. (I have modified the code from 2022 lesson.) I will come back after fixing the bug!
if not path.exists():
path.mkdir()
print(path)
for o in bear_types:
print(True)
dest = (path/o)
dest.mkdir(exist_ok=True)
results = search_images_ddg(f’{o} bear’)
download_images(dest, urls=results)
fns = get_image_files(path)
fns
(#0)