-
-
Save djalmabright/2b51f1fefc8be3d09910f8a786df0418 to your computer and use it in GitHub Desktop.
Sitemap to extract product data and pricing from Walmart using web scraper.io extension
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"_id": "walmart", | |
"startUrl": [ | |
"https://www.walmart.com/browse/home-improvement/electrical/1072864_1067619?povid=1072864+%7C+2018-05-02+%7C+Flyout_Electrical" | |
], | |
"selectors": [ | |
{ | |
"id": "product", | |
"type": "SelectorElementClick", | |
"parentSelectors": [ | |
"_root" | |
], | |
"selector": "li.Grid-col", | |
"multiple": true, | |
"delay": "2000", | |
"clickElementSelector": "button.elc-icon.paginator-btn-next", | |
"clickType": "clickMore", | |
"discardInitialElements": false, | |
"clickElementUniquenessType": "uniqueText" | |
}, | |
{ | |
"id": "name", | |
"type": "SelectorText", | |
"parentSelectors": [ | |
"product" | |
], | |
"selector": "a.product-title-link span", | |
"multiple": false, | |
"regex": "", | |
"delay": 0 | |
}, | |
{ | |
"id": "price", | |
"type": "SelectorText", | |
"parentSelectors": [ | |
"product" | |
], | |
"selector": "div.price-main-block span.price", | |
"multiple": false, | |
"regex": "", | |
"delay": 0 | |
}, | |
{ | |
"id": "rating", | |
"type": "SelectorText", | |
"parentSelectors": [ | |
"product" | |
], | |
"selector": "span.seo-avg-rating", | |
"multiple": false, | |
"regex": "", | |
"delay": 0 | |
}, | |
{ | |
"id": "number_of_reviews", | |
"type": "SelectorText", | |
"parentSelectors": [ | |
"product" | |
], | |
"selector": "span.stars-reviews-count", | |
"multiple": false, | |
"regex": "", | |
"delay": 0 | |
}, | |
{ | |
"id": "image", | |
"type": "SelectorImage", | |
"parentSelectors": [ | |
"product" | |
], | |
"selector": "img", | |
"multiple": false, | |
"delay": 0 | |
}, | |
{ | |
"id": "shipping", | |
"type": "SelectorText", | |
"parentSelectors": [ | |
"product" | |
], | |
"selector": "div.ShippingMessage-container", | |
"multiple": false, | |
"regex": "", | |
"delay": 0 | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment