Skip to content

Commit 618db4a

Browse files
committed
style: remove word
1 parent 7184e71 commit 618db4a

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
@@ -111,7 +111,7 @@ print(count)
111111

112112
Unfortunately, this doesn't seem to be sufficient. Running the code above prints 123, which is a suspiciously high number. It seems there are more div elements with class names starting with `product-item`.
113113

114-
On closer look at the whole HTML, our substring matches also tags like `<div class="product-item__info">`. What if we force our code to count only those with a space after the class name?
114+
On closer look at the HTML, our substring matches also tags like `<div class="product-item__info">`. What if we force our code to count only those with a space after the class name?
115115

116116
```python
117117
count = html_code.count('<div class="product-item ')

0 commit comments

Comments
 (0)