Created
November 2, 2018 12:53
-
-
Save scrapehero/db1035ab6c7c6acb559497f8e7e2c372 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 hidden or 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