forked from mulsahu/testspac
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathfatwallet.com.json
19 lines (19 loc) · 1.04 KB
/
fatwallet.com.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{
"name":"crawl fatwallet.com deals",
"model": "com.fp.ecommerce.model.Deal",
"urls":[
"https://www.fatwallet.com/electronics-computer-deals/?page=1"
],
"list_xpath":"//div[contains(@class,'standardPageSection')][1]//ul[contains(@class,'offer-list-container')]//li",
"fields":{
"siteName": "##www.fatwallet.com",
"title": "//div[contains(@class,'offer-cell')]//span[contains(@class,'offer-details-url')]",
"category": "##Electronics and Computers",
"imageUrl": "//div[contains(@class,'offer-image')]//img/@src",
"regularPrice": "//div[contains(@class,'offer-cell')]//span[contains(@class,'was-price')] !! ([0-9]*\\.?[0-9]+)",
"dealPrice": "//div[contains(@class,'offer-cell')]//span[contains(@class,'current-price')]//span[contains(@class,'price')] !! ([0-9]*\\.?[0-9]+)",
"merchant": "//div[contains(@class,'top')]//@alt",
"detailUrl": "//a/@href",
"discount": "//div[contains(@class,'offer-cell')]//span[contains(@class,'cashback-text')]//span[contains(@class,'cashback-value')] !! ([0-9]*\\.?[0-9]+)"
}
}