Skip to content

Commit a2f4466

Browse files
committed
style: make Vale happy
1 parent 34b9444 commit a2f4466

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

.github/styles/config/vocabularies/Docs/accept.txt

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,5 +93,9 @@ preconfigured
9393
asyncio
9494
parallelization
9595
IMDb
96-
subwoofer
97-
Fandom's
96+
[Ss]ubwoofer
97+
Shopify
98+
Fandom('s)?
99+
Shein('s)?
100+
combinator
101+
ul

sources/academy/webscraping/scraping_basics_python/02_devtools_locating_elements.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ Multiple approaches often exist for creating a CSS selector that targets the ele
120120

121121
The product card has four classes: `product-item`, `product-item--vertical`, `1/3--tablet-and-up`, and `1/4--desk`. Only the first one checks all the boxes. A product card *is* a product item, after all. The others seem more about styling—defining how the element looks on the screen—and are probably tied to CSS rules.
122122

123-
This class is also unique enough in the page's context. If it were something generic like `item`, there'd be a higher risk that developers of the website might use it for unrelated elements. In the **Elements** tab, you can see a parent element `product-list` that contains all the product cards marked as `product-item`. This structure aligns with the data we're after.
123+
This class is also unique enough in the page's context. If it were something generic like `item`, there would be a higher risk that developers of the website might use it for unrelated elements. In the **Elements** tab, you can see a parent element `product-list` that contains all the product cards marked as `product-item`. This structure aligns with the data we're after.
124124

125125
![Overview of all the product cards in DevTools](./images/devtools-product-list.png)
126126

0 commit comments

Comments
 (0)