2 changed files with 59 additions and 8 deletions
@ -0,0 +1,34 @@ |
|||
{ |
|||
"www.banggood.com": |
|||
{ |
|||
"name": "//div[@class='title_hd']/h2 | //h1[@itemprop='name']", |
|||
"price": "//div[contains(@class,'item_now_price')] | //div[@class='now']", |
|||
"stock": "//strong[contains(text(),'stock')]" |
|||
}, |
|||
"www.gearbest.com": |
|||
{ |
|||
"name": "//h1[@class='goodsIntro_title']", |
|||
"price": "//span[contains(@class,'goodsIntro_price')]", |
|||
"outofstock": "//div[@class='goodsIntro_noticeSubmit']" |
|||
}, |
|||
"www.amazon.com": |
|||
{ |
|||
"name": "//span[@id='priceblock_dealprice' or @id='priceblock_ourprice']", |
|||
"price": "//span[@id='productTitle']" |
|||
}, |
|||
"www.getfpv.com": |
|||
{ |
|||
"name": "//div[@class='product-name']/span", |
|||
"price": "//div[@class='price-box']/p[@class='special-price']/span[@class='price'] | //div[@class='price-box']/span[@class='regular-price']/span" |
|||
}, |
|||
"www.dalprops.com": |
|||
{ |
|||
"name": "//h1[@itemprop='name']", |
|||
"price": "//*[@id='product-price']" |
|||
}, |
|||
"hobbyking.com": |
|||
{ |
|||
"name": "//h1[contains(@class,'product-name')]", |
|||
"price": "//p[@class='special-price']/span[@class='price'] | //span[@class='regular-price']/span[@class='price']" |
|||
} |
|||
} |
|||
Write
Preview
Loading…
Cancel
Save
Reference in new issue