HTTP 404 Error with "download URL" function

Continuing the discussion from Lesson 1 official topic:

I’m receiving HTTP 404 error while running the code : download_url(urls[0], dest, show_progress=False)

Any help / suggestions?
BTW, I use Kaggle where I copied the notebook from JH’s original…

1 Like

Well, it could happen that the link you’re passing to the function is broken, so when you call download_url it throws an HTTPError with code 404.

I solved this, catching the error and trying with a link of another image. Look at the notebook I wrote for a variation I wrote of the is_it_a_bird? exercise of the first lesson: is_it_a_car? | Kaggle (function predict_search).

1 Like

Thank you Eduardo

1 Like