Skip to content

Commit 558bcb3

Browse files
honzajavorekmnmkng
andcommitted
fix: mention why 404 can happen
Co-authored-by: Ondra Urban <[email protected]>
1 parent 5ae0452 commit 558bcb3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sources/academy/webscraping/scraping_basics_python/04_downloading_html.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ If you're curious, sneak a peek at the list of all [HTTP response status codes](
127127

128128
## Handling errors
129129

130-
It's time to ask for trouble! Let's change the URL in our code to a page which doesn't exist, so that we get a response with [status code 404](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/404):
130+
It's time to ask for trouble! Let's change the URL in our code to a page which doesn't exist, so that we get a response with [status code 404](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/404). This could happen, for example, when the product we are scraping is no longer available:
131131

132132
```text
133133
https://warehouse-theme-metal.myshopify.com/does/not/exist

0 commit comments

Comments
 (0)