Skip to content

Commit 59ae1bd

Browse files
committed
style: don't be afraid to mix code and links
Addressing #1023 (comment)
1 parent 7903a0a commit 59ae1bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sources/academy/webscraping/scraping_basics_python/05_parsing_html.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ As a first step, let's try counting how many products are on the listing page.
1818

1919
## Treating HTML as a string
2020

21-
Currently, the entire HTML is available in our program as a string. Our program can print it to the screen or save it to a file, but not much more. If it's a string, could we use Python string operations to count the products? Each Python string has `.count()`, a [method for counting substrings](https://docs.python.org/3/library/stdtypes.html#str.count).
21+
Currently, the entire HTML is available in our program as a string. Our program can print it to the screen or save it to a file, but not much more. If it's a string, could we use Python string operations to count the products? Each Python string has [`.count()`](https://docs.python.org/3/library/stdtypes.html#str.count), a method for counting substrings.
2222

2323
After manually inspecting the page in browser DevTools we can see that all product cards have the following structure:
2424

0 commit comments

Comments
 (0)