Skip to content

Commit a9caa86

Browse files
committed
fix: make linter happier
1 parent 8293af8 commit a9caa86

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

sources/academy/webscraping/scraping_basics_python/06_locating_elements.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,7 @@ In the output we can see that the price isn't located precisely. For each produc
131131
$74.95
132132
</span>
133133
```
134+
134135
When translated to a tree of Python objects, the element with class `price` will contain several _nodes_:
135136

136137
- Textual node with white space,
@@ -139,7 +140,7 @@ When translated to a tree of Python objects, the element with class `price` will
139140

140141
We can use Beautiful Soup's `.contents` property to access individual nodes. It returns a list of nodes like this:
141142

142-
```
143+
```py
143144
["\n", <span class="visually-hidden">Sale price</span>, "$74.95"]
144145
```
145146

0 commit comments

Comments
 (0)