Lesson 2: Can't Download Images?

Hi, I finished lesson 2 and I tried to do the bear example, but with cookies. I’m not getting any error messages or anything, but no images end up downloading. When I check the folders I see that a folder called chocolatechip has been made, but it’s empty. The code is the same as it was in the lesson, so I’m really confused as to why it isn’t working. Can anyone help? Thanks!

I am not sure if that is the case, but the line if not path.exists() will check if the directory already exist.
If the directory exist, the following code will not be executed.
Try to delete the directory and run the cell again

1 Like

Thank you so much!