Skip to content

Commit c5ef2ab

Browse files
committed
feat: update first half of scraping variants to be about JS
1 parent 61767f3 commit c5ef2ab

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

sources/academy/webscraping/scraping_basics_javascript2/11_scraping_variants.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,11 @@ If we run the program now, we'll see 34 items in total. Some items don't have va
140140
[
141141
...
142142
{
143+
<<<<<<< HEAD
143144
"variantName": null,
145+
=======
146+
"variant": null,
147+
>>>>>>> 7d8da199 (feat: update first half of scraping variants to be about JS)
144148
"url": "https://warehouse-theme-metal.myshopify.com/products/klipsch-r-120sw-powerful-detailed-home-speaker-set-of-1",
145149
"title": "Klipsch R-120SW Powerful Detailed Home Speaker - Unit",
146150
"minPrice": 32400,
@@ -158,15 +162,23 @@ Some products will break into several items, each with a different variant name.
158162
[
159163
...
160164
{
165+
<<<<<<< HEAD
161166
"variantName": "Red - $178.00",
167+
=======
168+
"variant": "Red - $178.00",
169+
>>>>>>> 7d8da199 (feat: update first half of scraping variants to be about JS)
162170
"url": "https://warehouse-theme-metal.myshopify.com/products/sony-xb950-extra-bass-wireless-headphones-with-app-control",
163171
"title": "Sony XB-950B1 Extra Bass Wireless Headphones with App Control",
164172
"minPrice": 12800,
165173
"price": null,
166174
"vendor": "Sony"
167175
},
168176
{
177+
<<<<<<< HEAD
169178
"variantName": "Black - $178.00",
179+
=======
180+
"variant": "Black - $178.00",
181+
>>>>>>> 7d8da199 (feat: update first half of scraping variants to be about JS)
170182
"url": "https://warehouse-theme-metal.myshopify.com/products/sony-xb950-extra-bass-wireless-headphones-with-app-control",
171183
"title": "Sony XB-950B1 Extra Bass Wireless Headphones with App Control",
172184
"minPrice": 12800,
@@ -184,7 +196,11 @@ Perhaps surprisingly, some products with variants will have the price field set.
184196
[
185197
...
186198
{
199+
<<<<<<< HEAD
187200
"variantName": "Red - $74.95",
201+
=======
202+
"variant": "Red - $74.95",
203+
>>>>>>> 7d8da199 (feat: update first half of scraping variants to be about JS)
188204
"url": "https://warehouse-theme-metal.myshopify.com/products/jbl-flip-4-waterproof-portable-bluetooth-speaker",
189205
"title": "JBL Flip 4 Waterproof Portable Bluetooth Speaker",
190206
"minPrice": 7495,

0 commit comments

Comments
 (0)