-
-
Save gardart/e5d0b6d4f7efcfc9db359eb0af443261 to your computer and use it in GitHub Desktop.
JSON Sitemap to scrape amazon bestseller listings from Amazon using Web Scraper Chrome 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":"amazon_pet", | |
"startUrl":[ | |
"https://www.amazon.com/Best-Sellers-Pet-Supplies/zgbs/pet-supplies/ref=zg_bs_nav_0" | |
], | |
"selectors":[ | |
{ | |
"id":"product", | |
"type":"SelectorElement", | |
"parentSelectors":[ | |
"_root", | |
"next" | |
], | |
"selector":"li.zg-item-immersion", | |
"multiple":true, | |
"delay":0 | |
}, | |
{ | |
"id":"next", | |
"type":"SelectorLink", | |
"parentSelectors":[ | |
"_root", | |
"next" | |
], | |
"selector":"li.a-last a", | |
"multiple":false, | |
"delay":0 | |
}, | |
{ | |
"id":"rank", | |
"type":"SelectorText", | |
"parentSelectors":[ | |
"product" | |
], | |
"selector":"span.zg-badge-text", | |
"multiple":false, | |
"regex":"", | |
"delay":0 | |
}, | |
{ | |
"id":"name", | |
"type":"SelectorText", | |
"parentSelectors":[ | |
"product" | |
], | |
"selector":"div.p13n-sc-truncated", | |
"multiple":false, | |
"regex":"", | |
"delay":0 | |
}, | |
{ | |
"id":"ratings", | |
"type":"SelectorText", | |
"parentSelectors":[ | |
"product" | |
], | |
"selector":"a.a-size-small", | |
"multiple":false, | |
"regex":"", | |
"delay":0 | |
}, | |
{ | |
"id":"rating", | |
"type":"SelectorText", | |
"parentSelectors":[ | |
"product" | |
], | |
"selector":"span.a-icon-alt", | |
"multiple":false, | |
"regex":"", | |
"delay":0 | |
}, | |
{ | |
"id":"price", | |
"type":"SelectorText", | |
"parentSelectors":[ | |
"product" | |
], | |
"selector":"span.p13n-sc-price", | |
"multiple":false, | |
"regex":"", | |
"delay":0 | |
}, | |
{ | |
"id":"image", | |
"type":"SelectorImage", | |
"parentSelectors":[ | |
"product" | |
], | |
"selector":"img", | |
"multiple":false, | |
"delay":0 | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment