SHOW:
|
|
- or go back to the newest paste.
1 | { | |
2 | "sitemap_urls": | |
3 | [ | |
4 | "https://www.bloomingdales.com/navapp/dyn_img/sitemap/bcom_sitemapindex.xml" | |
5 | ], | |
6 | "fields": { | |
7 | "name": "//meta[@property='og:title']/@content", | |
8 | "price": "//script[@id='productSEOData']/text()", | |
9 | "price_old": "", | |
10 | "reference": "", | |
11 | "image": "//img[@class='main-image-img']/@src", | |
12 | "description": "//meta[@name='description']/@content", | |
13 | "brand": "", | |
14 | "brand_text": "//div[@class='product-title']/a/text()", | |
15 | "categories": "(//ol[contains(@class,'breadcrumbs-panel')]/li/a/span)[position()>1]/text()", | |
16 | "availability": "//span[@class='c-capitalize']/text()", | |
17 | "rating_average": "//span[@class='bv-rating']/span/text()", | |
18 | "rating_count": "//dd[contains(@class,'ratio-count')]/a/text()", | |
19 | "barcode": "", | |
20 | "stock": "" | |
21 | }, | |
22 | "links": { | |
23 | "detail": "//div[@class='sortableGrid']//a[@class='productDescLink']", | |
24 | "next_page": "//div[@class='paginationBottom']//a[contains(@title,'Next')]" | |
25 | }, | |
26 | "regex":{ | |
27 | "price" : ["price\\\":\\\"(.*?)\\\"",1], | |
28 | "ratingValue" : ["(\":(\\d))",1], | |
29 | "rating_count" : ["(\\d+)",1] | |
30 | }, | |
31 | - | "sitemap_rules": ["canada-goose"] |
31 | + | "sitemap_rules": ["(?:shop/product).*(?:canada-goose)"] |
32 | } |